sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36620
Re: [Question #283780]: how to change default screen to a custom region?
Question #283780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283780
Status: Open => Answered
Eugene S proposed the following answer:
If you want to set a Region to a constant screen location just create a
new Region object while passing the pixel parameters to the constructor.
For example:
region = Region(x,y,w,h)
where:
x – x position of a rectangle.
y – y position of a rectangle.
w – width of a rectangle.
h – height of a rectangle.
like described here: http://doc.sikuli.org/region.html#Region.Region
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.