New question #231755 on Sikuli:
https://answers.launchpad.net/sikuli/+question/231755

So I am trying to create a script that will go through and check a GUI for me 
and then i want to initiate that script within another sikuli script

#gui_checker.sikuli
def genDat(val):
    if val == "y" or val == "yes" or val == "1" or val == 1:
        print "success"
    else:
        print "failure"

---------------------------------------------------------
#valid_checker.sikuli
import gui_checker

gui_checker.genDat(1)


** this is just an example as the contents shouldn't matter much, I'm running 
into the issue of the second script telling me there is no module named 
gui_checker, is there some default folder where I need to store my scripts? or 
a way to route them to each other?

thanks

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