Question #681984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681984
RaiMan proposed the following answer:
ok, you can do that in a script:
try:
import org.sikuli.natives.WinUtil as Windows
path = Windows.getEnv("PATH") # get current path
# manipulate the path string
newPath = Windows.setEnv("PATH", changedPath) # change it
if (newPathh == changedPath):
pass #worked
except:
pass # did not work
--
You received this question notification because your team Sikuli Drivers
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