← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #266528]: app.focus() not working after window title change (Windows 8.1)?

 

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

RaiMan proposed the following answer:
-- parameters
with the build 2015-05-15+ you can do the following:

myApp = App(r"c:\some\path\app.exe")
myApp.setUsing("-server <server> -config <config>")

myApp.open() # internally CreateProcess is used now with
c:\some\path\app.exe -server <server> -config <config>

the compact version works also:
myApp = App(r"c:\some\path\app.exe").setUsing("-server <server> -config <config>").open()

Would be nice, if you give it a try.

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