Question #258380 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258380

shelby proposed the following answer:
Here is a solution I came up with using AutoIt Script (free). Run this
script before beginning Sikuli's script.

Sleep(5000)
While True
   If WinActive("[CLASS:SunAwtFrame]") Then ; Check if Notepad is currently 
active.
          ;Sikuli is Active (error)
          Sleep(2000)
          Send("^r")
          Sleep(2000)
   Else
           ;Sikuli is Inactive & Running script
          ContinueLoop
   EndIf
   Sleep(5000)
WEnd

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to