sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59592
[Question #820856]: How to define a region by screenshot?
New question #820856 on SikuliX:
https://answers.launchpad.net/sikuli/+question/820856
Hi,
I want to search for a region, so that I can then search within that region later.
I am using this command:
region = Region("1738863287150.png")
The .png file is generated when I clicked the "Take screenshot" button and defined the area I want to look at.
This is the error I am getting:
[error] script [ Tab and Slot ] stopped with error in line 1
[error] TypeError ( org.python.proxies.sikuli.Region$Region$3(): 1st arg can't be coerced to org.sikuli.script.Region, boolean, java.awt.Rectangle )
[error] --- Traceback --- error source first
line: module ( function ) statement
1: main ( <module> ) region = Region("1738863287150.png")
[error] --- Traceback --- end --------------
What is wrong?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.