← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #404563]: Determine if application has been fired up and close it

 

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

    Status: Open => Answered

masuo proposed the following answer:
This is an example code , when you allow that responce time is long.

notepad=App("notepad")
while True:
    if notepad.isRunning():
        popup("oh!")
    sleep(1)

http://sikulix-2014.readthedocs.io/en/latest/appclass.html#general-
aspects-hints-and-tipps

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.