← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #460620]: How to use function if

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
"if" is not a function, but a language element of Python scripting
language, that allows to add branches to your workflow based on
decisions.

If you want to create more complex scripts, you have to get some basic knowledge about the Python language.
There are tons of tutorials in the net.

Only with "scripting by example" you will not get very far and finally
end in the pool of frustration.

Nevertheless: have fun with SikuliX.

Of course you should have read at least across the docs of SikuliX:
http://sikulix-2014.readthedocs.io/en/latest/index.html

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