← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #176129]: Is there a waitApp command or similar

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
No, not a feature.

You can only wait for a specific window, if you know its title.

myApp = App("some part of a window title")
# start the app somehow
while not myApp.window():
    wait(1)

... but you must be sure, that the window will be there after some time
- otherwise you have an infinite loop.

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