← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #820856]: How to define a region by screenshot?

 

Question #820856 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/820856

    Status: Answered => Open

Steven Sheldon is still having a problem:
I tried:
command_region = screen.find("1738875604030.png")

And I get this error:
[error] script [ Tab and Slot 2 ] stopped with error in line 2
[error] NameError ( name 'screen' is not defined )
[error] --- Traceback --- error source first
line: module ( function ) statement 
2: main (  <module> )     region = screen.find("1738875604030.png")
[error] --- Traceback --- end --------------

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