sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31472
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
eduardobedoya gave more information on the question:
Thanks Rainman,
pls tell me
how much processor power consume to keep the script running??
I would like to execute several browser tabs, and video stream at same time
I get it to work doing this...
def openlastone(event):
runScript("C:\Sikuli\scripts\lastone")
Env.addHotkey(Key.F1, KeyModifier.CTRL+KeyModifier.SHIFT+KeyModifier.ALT, openlastone)
def openquestionmark(event):
runScript("C:\Sikuli\scripts\questionmark")
Env.addHotkey(Key.F2, KeyModifier.CTRL+KeyModifier.SHIFT+KeyModifier.ALT, openquestionmark)
while True:
wait(2)
Is something wrong with this above???
I read your suggested more transparent script above, but I don't understand something
in my humble programming understanding, the # is most used to comment something, it is so in the script you sugested above? so...
# openAppleMenu.sikuli
# main.sikuli
They are just comments right? I mean, they don't call any actual sikuli scripts? or are any kinda LABEL - GOTO commands, right?
Thanks man
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.