Macro Scheduler 15

WaitReady

WaitReady>paint_events

 

WaitReady suspends script execution until the foreground window has finished processing mouse, keyboard, show window, and optionally, paint events.  Issue 1 to include paint events, and 0 to exclude paint events.  This command can therefore be used to wait until the active application is ready to receive keyboard and mouse events in most situations.

 

Abbreviation : WRD

See also: Wait, WaitWindowOpen, WaitWindowClosed, WaitCursorChanged, WaitPixelColor

 

Example

 

Run Program>"C:\Program Files\Microsoft Office\Office\WINWORD.EXE"

WaitWindowOpen>Microsoft Word*

WaitReady>0

Message>Word is now ready for input