sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40953
Re: [Question #404660]: HowTo: Find one image out of a list of given images
Question #404660 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404660
Status: Open => Answered
RaiMan proposed the following answer:
if you want to do some more complex things, you have to learn some
Python scripting !
dimgs = {'1':"1481019400547.png",'2': "1481019416947.png"}
imgs = dimgs.values()
... but your construct does not have any advantage over the simple list:
imgs = ["1481019400547.png","1481019416947.png"]
it is even more difficult to find out, which one matched - just try it ;-)
imgs.index(found)
will not help any longer.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.