sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #19093
Re: [Question #231913]: How to use Region.Offset in Java?
Question #231913 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/231913
Status: Open => Answered
RaiMan proposed the following answer:
Region.below(60).offset(30,50).highlight();
If this is really your code, then this is wrong:
- Region cannot be used as a variable (variables should always start with a lowercase letter)
- .below() can only be applied to a Region object
e.g. this should do something:
reg = selectRegion() # lets you mark a region on the screen
reg.below(60).offset(Location(30,50)).highlight();
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.