GetBusyRequester System Query Command

GETBUSYREQUESTER Dialog Box Queries

Gets the Stop button state in an open busy dialog box.

getbusyrequester

handle/i The handle of the dialog box.

Results:

0 is returned to RESULT if the Stop button has not been pressed; otherwise, 1 is returned.

Examples:

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

 

GetBusyRequester  Command Definition  url:PGScmd/getbusyrequester
  created:2006-03-30 22:20:06   last updated:2006-03-30 22:20:06
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetBusyRequester
Dan Kilroy wrote...2006-05-04 16:44:37

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

Gets the {...} .

abort<0|1> = GetBusyRequester (brhandle)


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetBusyRequester