← Back to team overview

sikuli-driver team mailing list archive

[Question #699145]: App.open on version 2.0.5 has different behavior

 

New question #699145 on SikuliX:
https://answers.launchpad.net/sikuli/+question/699145

On Sikuli 1.1.1 in order to open Remote Desktop connection I am using:

App.open(r'c:\\Windows\\System32\\mstsc.exe /span')

Now on version 2.0.5 I am using:

RDPApp = App( r'"c:\\Windows\\System32\\mstsc.exe"')
commandstring ='/span'
commandstring = r'%s'%(commandstring)
RDPApp.setUsing(commandstring)
RDPApp.open()


It is working fine but now on the new version has a different behavior: if I insert the code on a private function called "RemoteDesktopConnection" and I call twice, Sikuli opens the same instance of application RDP, on previous version Sikuli opened a new remote desktop instance. To be clear, on my previous version I opened a RDP calling RemoteDesktopConnection function, then minimaze the window and I used RemoteDesktopConnection fucntion  again and Sikuli opened a new RDP connection window.

How can I open two different app instances of same exe in the same session?

Thanks

Alberto

            
    
            

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