← Back to team overview

sikuli-driver team mailing list archive

[Question #226009]: doubleClick() vs region.doubleClick()

 

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

trying to optimize my code.
whats the difference between calling keyboard or mouse calls between generic screen and region mouse calls  
is there a performance hit ? 
e.g. 
   doubleClick() 
    vs
  myRegion.doubleClick()

sometimes I get lazy and on some of my code I just do
   if myRegion.exists(myPattern,0):
            doubleClick(myRegion.getLastMatch())     


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