WITH() command use?

Asked by Jesse Sheridan

The Hello World example uses the WITH() command to make the code faster by searching for the PS within a set region. However, I cannot find the documentation for this command and have had mixed luck getting it to work. What are the indentation rules for example?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

documentation:
http://sikuli.org/trac/wiki/reference-0.10#GroupingMethodCalls

thats chapter 5.9 in the "Complete Guide to Sikuli Script".

Indentation rules are the normal python rules: with: is a block command - everything that belongs to the block has to be indented with the same number of blanks or tabs (inner blocks have their own indentation).
as already said: its just Python ;-)

Can you help with this problem?

Provide an answer of your own, or ask Jesse Sheridan for more information if necessary.

To post a message you must log in.