← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676844]: if error or cant finde image run last instruction

 

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

    Status: Solved => Open

yazid amine is still having a problem:

ty 


def handler(event):


        run (ligne7 -1) or  a =get ligne() ; b = a-1 ; run b
        
       run ( ligne7) or run a

       go to ( ligne7+1) or  c=  a+1 ;  go to c

                        
    event.setResponse(RETRY) 


setFindFailedHandler(handler)

while exists (1.png):

          ligne1 click (1.png)
          ligne2 click (2.png)
          ligne3 click (3.png)
          ligne4 click (4.png)
          ligne5 click (5.png)
          ligne6 click (6.png)
      1: ligne7 click (7.png) (error can't find 7.png "for example") hi should run function 'run last instruction()'
          ligne8 click (8.png)
          ligne9 click (9.png)
          ligne10 click (10.png)
          ligne11 click (11.png)


i cant interparte    


        run (ligne7 -1) or  a =get ligne() ; b = a-1 ; run b
        
       run ( ligne7) or run a

       go to ( ligne7+1) or  c=  a+1 ;  go to c

ty for all

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