← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671341]: PyCharm is highlighting code in red while I'm trying to use sikulixapi.jar to write Jython scripts

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- downloaded sikulixapi.jar
a valid sikulixapi.jar MUST be created using setup (recommended 1.1.3 nightly)

---  autocomplete
... does not work for the undotted methods like exists, click, ..., because these references are only created at script runtime.

for autocomplete you have to use the dotted versions like so:
scr = Screen(0)
scr.click(someImage)

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