Not working when the object is not on screen

Asked by david

I have written a script to scan on the IE Flash program and click on certain object (eg: click("1380511864279-1.png"))
However the click command (perhaps other scan command also) will not work if the IE is not maximize on screen.

I wish the script can continue scan the IE tab 1 even when I minimize it.
Please advice how to continue the image scan even I want to minimize it, since I want to open other apps to do my works.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Weisler (mark-weisler-saratoga-ca) said :
#1

Since Sikuli is a visual environment it needs to see the image ("1380511864279-1.png") on your screen to be able to click on it.
If the display is minimized Sikuli cannot see the image and cannot click on it.
When you execute the Sikuli program you should leave the screen the same size as when you captured the image. That way Sikuli will have a better chance of finding the image than if you shrink it or enlarge it.

Can you help with this problem?

Provide an answer of your own, or ask david for more information if necessary.

To post a message you must log in.