Macro Scheduler 15

BlockInput

BlockInput>block

 

Blockinput prevents or enables keyboard and mouse input from the user.

 

Set block to 1 to block input from the user.

Set block to 0 to enable input.

 

Be aware that this prevents all user input apart from CTRL-ALT-DEL.  If you need to stop a running script that has blocked input press CTRL-ALT-DEL and then stop the script.

 

Under Windows Vista or above this function will only work if Macro Scheduler is running elevated as Admin (right click the Macro Scheduler icon and select Run as Admin).

 

Abbreviation: BLO

 

Example:

 

//Block input from user

BlockInput>1

 

Run>Notepad

WaitWindowOpen>Notepad*

Send>Hello World

 

BlockInput>0