← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #406530]: Sikuli script to know the idle application and close it

 

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

    Status: Answered => Open

Pankaj is still having a problem:
Yes my application has a GUI. When it becomes idle one of the button is
enabled. I am using the enabled button inside wait to check if it has
reached an idle state or not. See script below

cmd = App.open(path to application);
 while cmd.isRunning():
     wait(<enabled image>)
cmd.close();

In this case application is not getting closed when wait is over.

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