← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172591]: Region Operations Throw Exception in Win7

 

Question #172591 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/172591

    Status: Open => Answered

RaiMan proposed the following answer:
Do not use Region.create(). Looked into the code. This seems currently still to be "under construction".
It gets you into the Jython environment (guess not your intention)

Use the older versions (labeled as @deprecated):

Region reg = new Region(x, y, w, h)

this should still work (look: the Region constructors in the javadocs).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.