SetBusyRequester System Command

SETBUSYREQUESTER Dialog Box Commands

Sets the thermometer and message for an open busy dialog box.

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

handle/i The handle of the dialog box to set.

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.

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

 

SetBusyRequester  Command Definition  url:PGScmd/setbusyrequester
  created:2006-03-31 10:52:53   last updated:2006-03-31 10:52:53
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetBusyRequester
Dan Kilroy wrote...2006-05-04 16:44:28

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

Gets the {...} .

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

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetBusyRequester