← 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: Open => Answered

RaiMan proposed the following answer:
You have to find something, that can be tested with SikuliX scripts, to
detect the final idle state.

If your app has a GUI, you might find some visual situation in there,
that you can check or wait for to happen.

another option might be, that you check the log file every 5 minutes for
example, wether it is still growing using Python file features.

Or whatever - I do not know the behavior of your app.

Checking for an "idle state" is not available as a Windows/Java feature.

... or you might ask the developer of your "internal app" to add a
feature, that it automatically stops, when all dependent apps  have
finished, which in turn would allow to use the above while
xxx.isRunning.

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