sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40762
Re: [Question #258380]: Any way to restart Sikuli script execution?
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.