Question #144742 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/144742
RaiMan posted a new comment:
let's assume, this is in a myLib.sikuli
def launchApp (self):
openApp ("c:\\libs\\launch_app_BE.bat")
openApp ("c:\\libs\\launch_app_FE.bat")
Now you open a new tab in Sikuli IDE and type:
launchApp(None)
This will never work, since called def()'s have either to be in the same file
or they have to be imported before, using
import myLib
myLib.launchApp(None)
or
from myLib import *
launchApp(None)
If you want to import other .sikuli to use the contained functions: read
the HowTo at: http://sikuli.org/docx/globals.html#importing-other-
sikuli-scripts-reuse-code-and-images
--
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