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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to