Re: [Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-15 Thread RaiMan
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

Re: [Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-15 Thread Asheru
Question #681984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681984 Asheru posted a new comment: Sorry, my bad. I was not clear enough. To be more specific, the problem is: We are testing an app(MyTestApp let's call it) and we have a large suite of tests built with

Re: [Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread Asheru
Question #681984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681984 Asheru posted a new comment: Ok I see. The problem we are having is that we have an app that we are testing a desktop app with sikuli, TestApp let's say. One of the modules that this app uses a module

Re: [Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread RaiMan
Question #681984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681984 RaiMan proposed the following answer: --- But while executing a normal script it does not change anything related to that, right? not while running, but before starting the script run, the lib path is added

Re: [Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread Asheru
Question #681984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681984 Asheru posted a new comment: Ok thanks. But while executing a normal script it does not change anything related to that, right? -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread RaiMan
Question #681984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681984 Status: Open => Answered RaiMan proposed the following answer: Not a feature. You have to do that in some wrapper (command script, ...). Or in your SikuliX script/program using the JNA features (JNA

[Sikuli-driver] [Question #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread Asheru
New question #681984 on Sikuli: https://answers.launchpad.net/sikuli/+question/681984 Hello, I'm wondering if Sikuli could possibly change some system environment variables at runtime, like windows path for example or others? While running some tests we are missing some dependencies needed by