← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169519]: App class not working on Ubuntu 11.04 (QT issue?)

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
besides the fact, that the class App is not fully implemented/functional
on Linux systems, I think, that on linux (as on Windows), the app is
seen from Sikuli as a window visible on the screen and is identified by
the window title (or part of it).

So after you have opened an app using App.open(path-to-your-app), you
have to switch to using window titles.

This works on windows:
App.open(path-to-your-app)
# wait somehow for the app to come up with a window
foo = App("part of window title")
foo.focus()
# do some stuff
foo.close()

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