← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #227175]: App.focus() launches application instead of just focussing

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Use App.focus() to start and focus the app.

Then check visually, wether your app is running:

if not exists("some app specific image.png", 10):
    print("app did not start")
    exit(1)

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