sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31807
Re: [Question #265446]: "Matching Preview" of the "Pattern Settings"
Question #265446 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265446
Status: Open => Answered
RaiMan proposed the following answer:
--- But I really would like to search only inside "IrfanView" app
already looked at:
http://sikulix-2014.readthedocs.org/en/latest/appclass.html#the-application-class-app
where you can find how to get the region of an application window?
---How should I write the script in order to it to make sure "IrfanView" windows is in focus, is not minized, before set the region
Currently SikuliX has no feature, to decide wether an app window is visible or not (e.g. minimised).
You have to decide by looking for something fixed in the window's region, that should be there.
If it is not found, you might try to unhide it by automating the context menu of the task bar icon or double click this icon.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.