Question #284364 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/284364
Status: Open => Answered Karl proposed the following answer: It looks like you're trying to recursively create regions and then pass them to doubleClick. That won't work because doubleClick only works on one PSMRL at a time. http://sikulix-2014.readthedocs.org/en/latest/region.html?highlight=doubleclick#Region.doubleClick The recursion seems interesting enough. You can put the doubleClick in your definition. def my_doubleClick(str): if len(str) == 1 : doubleClick(str+".png") else: str2 = str[:-1] return my_find(str2 my_doubleClick("AFR1234") #You can simply use: str = "AFR1234" for letter in str: #type(str) doubleClick(letter+".png") -- 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