← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172560]: selection structure question

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
you cannot type() to Sikuli, because it has not focus at that time (when
running a script).

simply use exit().

elif exists ( img [ Warning Window: Internal Error] ) :
       exit() #Exit Script and stop count

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.