← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #196888]: Sikuli on eclipse (Pydev) : Solution for undefined variable

 

Question #196888 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196888

    Status: Open => Answered

RaiMan proposed the following answer:
Are you talking about the fact, that in the PyDev editor click() ... is
not recognized by the syntax checker?

If yes, this cannot be solved at all, since the registration of these
methods to the constant Screen object SCREEN (which is Screen(0)) is
done at runtime.

If you want to solve it, you have to qualify the methods yourself:

s = Screen(0)
s.click()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.