How to call sikuli script within another sikuli script
Asked by
Benjamin Bruffey
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_
import gui_checker
gui_checker.
** 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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Bruffey
- Solved:
- Last query:
- Last reply:
To post a message you must log in.