← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179709]: How to open any application from user defined path

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
as already mentioned in our private conversation:

--- App.open() 
cannot be used in your case, since it does not allow, to specify a start directory

--- os.popen()
can be used in combination with Window's start command, to start your app from one of your configuration directories, but it does not return an App instance, that can be used later

--- window title for app switching
If your different app instances do not have different window titles, you will not be able, to switch between these apps using Sikuli's switchApp() or App.focus().
If they have different window titles, use switchApp().

--- other possibilities
if the app window content makes them distinguishable, you might look for this and use alt-tab to switch the apps. Or you might use clicking the task bar to switch between the app instances, since they should stay there in the order they where started.

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