New question #689302 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689302

When I create a region, i want to set the screen of that region. I can only 
find a getScreen option for the region 
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.getScreen. 
Just a moment ago i found vnc.newRegion() which creates a region with the 
screen defined, but if I want the screen to be screen(2) for the region I still 
do not see a way to accomplish that. For the sake of consistency, perhaps there 
is argument to be made that vnc.newRegion should be vnc.Region.

M = SUT['screen'].wait("Main_profile.png",g.waitDelay)
print M
R = Region(M.x, M.y, M.w, M.h)
print R
R2 = SUT['screen'].newRegion(M.x, M.y, M.w, M.h)
print R2

M[903,583 105x79]@S(VNC 13.1.18.55:5900) S:0.99 C:955,622 [723 msec]
R[903,583 105x79]@S(0)
R[903,583 105x79]@S(VNC 13.1.18.55:5900)

-- 
You received this question notification because your team Sikuli Drivers
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