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

    Status: Open => Answered

RaiMan proposed the following answer:
no pointer for that, you simply have to understand this basic principle
of SikuliX:

a Region simply is a coordinate of a top left corner of a rectangular area with 
a width and a height.
It does not have any content.
A region can be used in various ways:
- restrict the area to search for an image on the screen
- get the current pixel content of that region (capture)
- define other regions with various features based on this region

... and a region can be defined in various ways
- by specifying absolute values for (x,y) and w and h
- by using Region features to define a new region based on the given region 
(relative e.g. based on a match, spatial operators, ...)
- as a result of other non-Region features (e.g. App.window(), 
App.focusedWindow()) or find operations (a match is a Region with some added 
information, but still a coordinate + width + height)

conclusion:
Wether your SikuliX workflow "sees" some application content (Chrome window in 
your case) depends on, wether this content is currently (at the moment of 
processing a SikuliX feature) displayed on the screen inside this region area.

I hope you now understand my comment:
... that depends on how you set the region.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to