New question #263570 on Sikuli: https://answers.launchpad.net/sikuli/+question/263570
Im trying to separate some parts of my scripts to reuse it Lets say I have a script that do something with a screen, we will call that script1.sikuli, this script have folders inside it with images or text files that can be accessed inside this script using getBundlePath() + "/subfolder". But when I import that script inside another, lets call that script script2.sikuli, getBundlePath() passes to point to the path of script2. How can I make script1 have notion of its own folder even after imported? I know how to hardcode that, getBundlePath() + "/../script1.sikuli" is any other better way of the script to know its own name even after imported? -- 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

