sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41458
Re: [Question #451299]: Problem running application is foreground
Question #451299 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/451299
RaiMan proposed the following answer:
I just made a test on Windows 10:
This all works as expected with latest SikuliX 1.1.1:
np = r"C:\Program Files (x86)\Notepad++\notepad++.exe"
anp = App(np)
anp.open()
anp.waitForWindow()
print anp
wait(3)
App.focus("Untitled") # an open window of Windows Notepad
wait(3)
App.focus("Notepad++")
wait(3)
App.focus("Untitled")
wait(3)
anp.focus()
wait(3)
anp.close()
wait(3)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.