sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31240
Re: [Question #264116]: One more noob with a newbie question : launch scripts
Question #264116 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264116
Status: Open => Answered
RaiMan proposed the following answer:
as a first step, you should definitely switch to version 1.1.0
http://sikulix.com
you should select options 1 and 2 to get all possibilities.
this AppleScript should do what you want: run a SikuliX script
set toberun to " -r " & "<path-to-your>script.sikuli"
set cmdPath to "<path-to-sikulix-folder>/runsikulix"
set cmd to POSIX file cmdPath
try
alias cmd
on error
display alert "SikuliX runsikulix not found here: " & cmdpath
end try
set cmdText to cmdPath & toberun
do shell script cmdText & " &"
On the long run, you might be the ideal candidate to use JavaScript as scripting language:
the interpreter comes with Java and the startup time for a script run is less than 1 second compared to 3 - 5 seconds for Jython/Python (that you are currently using).
The next time there will be a JavaScript script run server for Sikuli scripts, that will run scripts without any delay.
Please tell me. if you are interested. In this case I will support you in the first place, since you are testing new stuff ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.