Attempts to keep a specified window active during Send().
SendKeepActive ( "title" [, "text"] )
| title | The title of the window to activate. See Title special definition. Use a blank title to disable the function. |
| text | [optional] The text of the window. |
| Success: | Returns 1. |
| Failure: | Returns 0 if window is not found. |
Run("notepad.exe")
WinWait("[CLASS:Notepad]")
SendKeepActive("[CLASS:Notepad]")
; Change the active window during pauses
For $i = 1 To 10
Sleep(1000)
Send("Hello")
Next