sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26246
[Question #249740]: TypeError ( org.python.proxies.sikuli.Region$Region$0(): 1st arg can't be coerced to java.awt.Rectangle, org.sikuli.script.Region ) error is raised
New question #249740 on Sikuli:
https://answers.launchpad.net/sikuli/+question/249740
Hi,
TypeError ( org.python.proxies.sikuli.Region$Region$0(): 1st arg can't be coerced to java.awt.Rectangle, org.sikuli.script.Region ) error is raised everytime I run following code.
from sikuli import*
var1 = "1401871375775.png"
def myRegion(var):
reg=Region(var)
newreg=Region(reg.x,reg.y,reg.w+800,reg.h)
newreg.highlight(5)
click(newreg.find("1401871400316.png"))
myRegion(var1)
Can you help me to understand what is wrong in this script.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.