Running random def

Asked by WekizZ

Hello,
Im new to sikuli and to this forum. I have found some things with random numbers, but I want script to run random def.

for example if image exists do random def: scrip01() or script02()

thank you for help or link to solve it ;)

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Karl (k-d) said :
#1

If you're using a truly random number, you'll need to have a conditional statement with every possibility or at least ranges of possibilities.

Can you help with this problem?

Provide an answer of your own, or ask WekizZ for more information if necessary.

To post a message you must log in.