New question #238787 on Sikuli:
https://answers.launchpad.net/sikuli/+question/238787
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://docs.python.org/2/library/functions.html
and read the input() function area but i'm not finding what i want.
Is it possible to do this in sikuli?
Thanks!
--
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