Question #258335 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258335
Status: Open => Answered RaiMan proposed the following answer: SikuliX at the function level needs absolute paths, means %xxx% substitution is not supported nor .. path elements. But you have the Python os module function sysDrive = os.environ("SYSTEMDRIVE") var1 = r"%s\notepad.exe" % sysDrive which gets the current value from the environment and uses Python's string substitution. -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp