Question #172707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/172707
Status: Open => Answered
RaiMan proposed the following answer:
If you are familiar with Java, then have a look at the appropriate
javax.swing features, that can be used in Sikuli scripts (like
JOptionPane, JComboBox). Not really recommended, if you never made this
before.
--- poor man's solution (quick and dirty template):
options = ("1. option1", "2. option2", "X.optionsX")
optionDefault = 2
text=""
for o in options:
text = text + o + "\n"
text = text + "\nSelect an option by entering it's number"
text = text + "\nJust click OK, to select the default"+options[optionDefault-1]
selected = input(text)
--
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