← Back to team overview

sikuli-driver team mailing list archive

[Question #169360]: How to perform a single click just once even if image continue to exist

 

New question #169360 on Sikuli:
https://answers.launchpad.net/sikuli/+question/169360

this is my script

Settings.MoveMouseDelay = 0
while True:
     reg.inside().wait( ,FOREVER)
    if  reg.exists( ):
         .click( )
	else:
         reg.click( )

My problem is when the image appears, sikuli would perform multiple single clicks on the image itself until it disappears. how to perform a single click just once and then it loops again.

Many thanks =)

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