tailieunhanh - AutoI Technology Curriculum Book part 96

Tham khảo tài liệu 'autoi technology curriculum book part 96', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Function Reference ProgressOn Creates a customizable progress bar window. ProgressOn title maintext subtext x pos y pos opt Parameters title Title for progress window. maintext Text for Main Bold Upper label. subtext optional text for Sub Normal Lower label. default is blank x pos optional position from left in pixels of progress window. default is centered y pos optional position from top in pixels of progress window. default is centered opt optional Default is always on top with title Add up the following options you want 1 borderless titleless window 2 Without always on top attribute 16 Window can be moved Return Value None. Remarks To skip an optional parameter leaving it s default value intact use for string parameters -1 for numeric parameters If ProgressOn is called while a progress window already exists the window is redrawn moved. If you want multiple simultaneous progress windows you need to use multiple scripts. Related ProgressOff ProgressSet Example ProgressOn Progress Meter Increments every second 0 percent For i 10 to 100 step 10 sleep 1000 ProgressSet i i percent Next ProgressSet 100 Done Complete sleep 500 ProgressOff Function Reference ProgressSet Sets the position and or text of a previously created Progress bar window. ProgressSet percent subtext maintext Parameters percent Percentage value between 0. and 100. to set the progress bar at. subtext optional Set the text for the Sub Normal Lower label. maintext optional Set the text for the Main Bold Upper label. Return Value None. Remarks Notice that the subtext argument comes before maintext. Related ProgressOff ProgressOn Example ProgressOn Progress Meter Increments every second 0 percent For i 10 to 100 step 10 sleep 1000 ProgressSet i i percent Next ProgressSet 100 Done Complete sleep 500 ProgressOff Function Reference SplashImageOn Creates a customizable image popup window. SplashlmageOn title file width height x pos y pos opt Parameters title Title for splash window. file full pathfilename of