sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03371
Re: [Question #161673]: Unable to understand region Behaviour
Question #161673 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/161673
RaiMan proposed the following answer:
--- at 1:
I guess:
Region R = new Region(100,200,500,600);
--- at 2:
that is basic OO knowledge ;-)
Region select=r;
does not make a copy it only duplicates the object reference.
this makes a copy:
Region select = new Region(r);
--- at 3:
@Screen(0) --- region is on Screen(0) (should be primary monitor)
E:Y --- if not found in this region, FindFailed exception is thrown
T:3.0 --- autoWaitTimeout for this region currently is 3 seconds (the default)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.