REFERENCE
WaitForWinEnabled |
Many thanks to dcreager for suggesting this command. |
| Waits until the currently targeted window is enabled. |
| <WaitForWinEnabled timeout> |
Timeout is the maximum time to wait in milliseconds. |
This command waits until the window that was previously targeted with TargetWin, WaitForWin, SendWin, SendWinMF, TargetChild, etc., is enabled.
This command can be interrupted with Cancel. |
| This command calls the system function IsWindowEnabled at 500 millisecond intervals. |
The following hotkey starts a game, waits for it to open, waits for it to be enabled, and sends a keystroke to it.
|
<Hotkey F1>
<run "C:\Program Files\UberSoft\uber.exe">
<WaitForWin Ubertastic 20000>
<WaitForWinEnabled 20000>
<Key X>
|
This page was last revised on April 30, 2008 |
|
|
|
|
|
|