← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #247038]: App.open to run .exe file with environment variable

 

Question #247038 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247038

    Status: Open => Answered

RaiMan proposed the following answer:
As already mentioned in the question 24663 (you should set it to solved,
if it is no longer open for you), in your script you can access the
environment like this:

myApp = os.environ["MYAPP"]

this would save the string you put with your settings into variable
myApp.

If the string is ok for App class to find and open your app:
App.open(myApp)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.