← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #274127]: Not working methods of the class App - close(), focus(),

 

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

    Status: Open => Answered

masuo proposed the following answer:
I can't run previous version of SikuliX now, but the following code works correctly on SikuliX1.1.0 .
[Environment:]Windows7, SikuliX1.1.0
[code:]
myApp = App("firefox")
App.open(r"C:\Program Files\Mozilla Firefox\firefox.exe")
while not myApp.isRunning():
        wait(1)
myApp.focus()
myApp.close()

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