OpenBusyRequester System Command

OPENBUSYREQUESTER Dialog Box Commands

Displays a busy dialog box. Use this to provide feedback during a lengthy script process. Returns the dialog box handle to RESULT.

openbusyrequester [MESSAGE text] [THERMOMETER status] [ABORT status] [TOTAL value] [CURRENT value]

MESSAGE/s The single line of text to display.

THERMOMETER/k Specifies whether the thermometer is used.

Options: ENABLED | DISABLED. ABORT

Specifies whether the Stop button is available.

Options: ENABLED | DISABLED.

TOTAL/i Sets the thermometer's total value.

CURRENT/i Sets the thermometer's current value.

Results:

The handle (identification number) of the busy dialog box is returned to RESULT. The handle is required in order to set the thermometer value and message text later, and to get the state of the Stop button.

Examples:

openbusyrequester message 'Thinking...' thermometer ¨
   enabled total 100 current 0
   bh=RESULT
do for i = 1 to 100
   /* script does something here */
   /* abort if stop is clicked else set mometer */
   getbusyrequester bh
   if result=1 then break else setbusyrequester bh ¨      
current i
end i
closebusyrequester bh

 

OpenBusyRequester  Command Definition  url:PGScmd/openbusyrequester
  created:2006-03-30 17:26:09   last updated:2006-03-30 17:26:09
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For OpenBusyRequester
Dan Kilroy wrote...2006-05-04 16:44:21

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

brhandle = OpenBusyRequester ([MESSAGE message] [ABORT <DISABLED|ENABLED>] [THERMOMETER <DISABLED|ENABLED>] [DELAYEDOPEN <DISABLED|ENABLED>] [TOTAL total] [CURRENT current])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For OpenBusyRequester