sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31436
Re: [Question #264483]: 1.0.1 how to run sikuli script from command line
Question #264483 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264483
Status: Open => Answered
RaiMan proposed the following answer:
What ever method you use, to run one script from command line, you will
always have the startup delay.
With the GUI (I always name it IDE), this delay is now completely packed
into the GUI startup, so that now even the first script in the IDE runs
with now delay.
You just should start to experiment with the mentioned runScript()
feature, that allows to setup a workflow using all features of Sikuli
and at a specific point run some script.
simple example:
# main.sikuli
while True:
if not input("repeat?"): break
runScript(someOtherScript)
this will run the script without delay after pressing OK, until you
press Cancel.
You might use hotkey to trigger script runs or the appearance/vanish of
some image …
Hope it is clear now.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.