Question #212205 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/212205
Status: Open => Answered
RaiMan proposed the following answer:
correct usage of Finder class:
for i in range(len(communications)):
sleep(1)
f = Finder(communications[i]) # setup the Finder
result = f.find("E.png") # search and return a Match Iterator
if result.hasNext(): # check if we have one match
hover(communications[i])
else:
sleep(0.5)
if exists(communications[i]):
keyDown(Key.CTRL)
click(getLastMatch())
keyUp()
f.destroy()
exit()
--
You received this question notification because you are a member of
Sikuli Drivers, which 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