sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24801
Re: [Question #245587]: Running other .sikuli scripts
Question #245587 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245587
Status: Open => Answered
obiwan-92 proposed the following answer:
Hello,
Two things :
- First, you can put function in your called script, after you can call every time you want.
- Secondly, you can use a loop to go back to your first point and execute the same actions.
The import of a function work like this :
import script2
script2.function()
The loop can work like this
for var in list: # where list contains the element to iterate on.
print var
Hope it's help.
Regards.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.