Question #694893 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694893
Status: Open => Answered
RaiMan proposed the following answer:
When someApp.open() is used, SikuliX internally waits until the program
is started and then tries to identify the main program window.
In your case the program start as such seems to work, but the subsequent
findWindow has problems using the command
wmctrl -lpGx
which should produce a list of all open windows.
So you might track the problem down, by opening the program manually and
then in a terminal issue the command wmctrl -lpGx, to see what happens.
If this does not reveal a solution, you have to start the program manually
outside the script or use run(someCommand) in the script.
Be aware: someCommand must not wait for anything, but issue something to start
the app and then immediately come back.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp