New question #694126 on Sikuli: https://answers.launchpad.net/sikuli/+question/694126
Hi, new to Sikuli, but love it 😄 Is there a way to change the "click" command or add another command, so that the click action for every picture will be done different on the picture itself? something like: clickRandom(picture) clicks somewhere in the picture area...not a specific point... I already did this trick: m = find("alliance.png") click(Location(random.randint(m.getX(),m.getX()+m.getW()),random.randint(m.getY(),m.getY()+m.getH()))) but it would be much easier to define the "random" action in general, to shorten the text... any ideas? thx -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp