← Back to team overview

sikuli-driver team mailing list archive

[Question #278079]: App.open() cannot open a 'duplicate' app

 

New question #278079 on Sikuli:
https://answers.launchpad.net/sikuli/+question/278079

Hello.

Sorry if this has been asked (I've searched best I can), but there seems to be a difference between 1.0.1 and 1.1.0 and I'm not sure if it's intentional or not.

In 1.0.1, if (for example) Internet Explorer is already open, I can do:

String command = "\"C:/Program Files/Internet Explorer/iexplore.exe\" \"google.com\"";
App thisApp = new App(command);
thisApp = thisApp.open();

... and it will open a totally new IE window, which is what I want.

However, in 1.1.0, it will try to grab the existing IE window instead.  This is the same for any app (tested with notepad.exe, etc).

Is this intentional?  If so, how can I avoid it and open different instances of the same app?

Thanks,
Marc


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.