Using random.choice with pictures
Asked by
Romain Claret
Hi,
I was wondering if their was a way to use this command for pictures instead of a letter?
I had the idea to use eventually something like that:
#import random
a = (picture)
b = (anotherPicture)
c = (otherPicture)
d = random.
click(d)
But it was with no success...
It's only returning the value a, b, or c if I popup it..
Thanks if you have an idea.
Romain
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Romain Claret for more information if necessary.
To post a message you must log in.