is it possible to create a combo box from input in sikuli
Currently I use the input method for user accepted data input like this:
Settings.tsVersion = input("Enter your version ie.. 2013, 2014 etc:", "2015")
if Settings.tsVersion == "2015":
defbuild = 'Build 23.0.0.'
elif Settings.tsVersion == "2014":
defbuild = 'Build 22.0.0.'
elif Settings.tsVersion == "2013":
defbuild = 'Build 21.0.0.'
elif Settings.tsVersion == "2012":
defbuild = 'Build 20.0.0.'
elif Settings.tsVersion == "2011":
defbuild = '19.0.0.'
I would love to change this to a combo box where the user can choose those items from a drop down list instead of having to manually type in the data possibly getting it wrong due to typo's or just incorrect entries.
I looked in the:
http://
and read the input() function area but i'm not finding what i want.
Is it possible to do this in sikuli?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Shawn Robertson
- Solved:
- Last query:
- Last reply: