Question #204354 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204354
Status: Open => Answered
RaiMan proposed the following answer:
--- #@UndefinedVariable
this is only a thing for Eclipse, to suppress the hint, that the method cannot
be found.
At runtime this will work, since Sikuli in the standard automatically
interprets each unqualified Region and Screen method as a method of object
SCREEN, that is initialized as Screen(0) meaning the region of the primary
monitor.
This is only a scripting convenience for the people using the Python level in
the IDE.
To avoid these messages, you could once at the beginning of the script say
s = Screen(0)
and then always say
s.click()
if you mean the whole screen
(which would be less to write)
--
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