← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #686932]: Is it possible to pass a variable to the Region command?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
simply so:

reg2 = Region(x_cord_s, y_cord_s, w_const_s, h_const_s)

supposing that
x_cord_s ...

have been set before to the needed integer values, like

x_cord_s = reg1.x + offset

where offset is again some integer value or variable

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.