← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #565988]: Optimization on targeting moving button/picture

 

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

leocd gave more information on the question:
How about this for an idea..

Every time the program find the moving picture using exists(), it will make a small region around to be search again then click(). How's that?
How to implement that in code?

I tried this but didnt work :

     if reg.exists(a,0)
         reg_found = (getLastMatch(),50,50); # creating region from last known picture position
         reg_found.click(a,0)

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