Question #201531 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/201531
Status: Open => Answered
RaiMan proposed the following answer:
This is what I used to test:
import random
x = random.randint(1,10)
print Region(0,0,10,10).getCenter().offset(x, x)
prints:
(9,9)
which is a Location object.
Sikuli rc3 generally comes with Jython 2.5.2
you might paste your code here.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp