sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01891
Re: [Question #150836]: Getting a sub region from a region.
Question #150836 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/150836
Status: Open => Answered
RaiMan proposed the following answer:
I posted a request bug 702291 for this missing function. Pls. go there
and register yourself as affected to boost it up.
Currenttly you have to make your own function (solution see bug) or
region calculation.
your case:
reg = app.window()
sub = Region(reg.x+50, reg.y+50, 50, 50)
or:
reg = app.window()
sub = reg.offset(Location(50,50)); sub.setW=50; sub.setH=50
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.