sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25231
Re: [Question #246742]: How to choose randomly from several lists and use them?
Question #246742 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246742
Status: Open => Answered
RaiMan proposed the following answer:
import random
click(random.choice(listApps))
paste('running AppX: Please, choose" + random.choice(listOptions))
... supposing listOptions contains strings
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.