← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255984]: handler

 

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

den posted a new comment:
hi , i had not given the entire code because it is very big , and the big part have no influence on this probleme .
i ' ve already initialize before the while loop the $ :  nb_quetes_tours_faites = 0 

my probleme is to create and have a handler capably to do the job where it isn ' t in comeentary on ths code i ' ve given .
so i would like a handler or create mine but with help to do this  : 

if QueteValideeReg.exists("1413219985088.png"):
  wait(1)
  QueteValideeReg.click("1413219985088.png")
  if exists(Pattern("1413716368262.png").similar(0.92)):
   click(Pattern("1413716368262.png").similar(0.92))
   if PrincipaleReg.exists("1413716480430.png"): # instance
    PrincipaleReg.click("1413716513801.png")
  nb_quetes_tours_faites += 1
  print(nb_quetes_tours_faites)
  continue

the beginning code i ve given was juste for help and comprehension .

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