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

    Status: Open => Answered

Alex Lunyov proposed the following answer:
Hm, it should work faster in case you use static visual objects and correct 
regions. 
By the way, region object keeps the last match result and there is no need to 
search again:

   # this is clearer:
   reg.wait(img)
   reg.click(img)  

   # this is better:
   reg.wait(img)
   reg.click()  

if it was successful (visual object is in your region), the region
remember click point of the visual object in it and reg.click()
operation results in clicking on that object. But in case the previous
search operation in that region gave no result reg.click() operation
clicks in the region center.

All main features are explained the docs.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to