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

RaiMan posted a new comment:
Nearly all examples (the more complex ones) are only available in
Python. But even if you do not know anything about Python language, they
should be readable for a Java programmer and easily adaptable.

things to know about Python
- no explicit variable types
- indentation is used to form code blocks

and one special Sikuli thing: a Sikuli method used without qualification
acts on the default Screen object representing the primary screen. So if
you see something like

find("some-image.png")

in a Sikuli script, this has to be

s.find("some-image.png")

in Java taking your declaration of s in your code above.

In general it is a good idea, to read across the Python API docs:
http://sikuli.org/docx/

and then check the Java API (http://sikuli.org/doc/java-x/) for Java
specific stuff (both API's are on the way getting harmonized finally)

-- 
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

Reply via email to