Question #234633 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234633

    Status: Open => Answered

RaiMan proposed the following answer:
once again:

# script1.sikuli
# a script to be imported
from sikuli import *
popup("Hello, I am script1")


# main.sikuli
popup("Hello, I am the main script")
import script1


- both scripts in one folder

- open main.sikuli in IDE and run it
- to run it again, you have to close and reopen IDE (an import is always only 
done once)

alternatively you can run main.sikuli from command line using
<path-to->runIDE -r <path-to->main.sikuli
(with version 1.0.1)

-- 
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