← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #673949]: "If" and "Find" Pictures

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- when i start it.. there are no mistakes from the programm..
I do not know, what your are doing, but running this in the IDE gets

[error] script [ Untitled ] stopped with error in line 1 at column 14
[error] SyntaxError ( "no viable alternative at input '.'",  )

... which is apparently correct.

The "script" you pasted has some logical and syntactical errors, so I
think, this is not, what you have in your IDE.

if pictures: # does not make sense
    click (pictures) # does not work - no allowed parameter and does not make sense
    for x in findAll (pictures):
           click(Pictures) # does not work - no allowed parameter 

simply compare with my example from comment #3

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