UI list box
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
This command is a [[UI Commands|UI Command]]. This command creates a list box on the UI panel tied to a specific variable. | This command is a [[UI Commands|UI Command]]. This command creates a list box on the UI panel tied to a specific variable. | ||
+ | |||
+ | '''Label:''' refers to the label for the list box as it appears on the interface. | ||
+ | |||
+ | '''Values Separated by Commas:''' The values that will appear individually within the list box. | ||
+ | |||
+ | '''Corresponding Variable:''' refers to the name for the variable that will correspond to the list box. | ||
== Example == | == Example == |
Revision as of 17:10, 25 April 2013
This command is a UI Command. This command creates a list box on the UI panel tied to a specific variable.
Label: refers to the label for the list box as it appears on the interface.
Values Separated by Commas: The values that will appear individually within the list box.
Corresponding Variable: refers to the name for the variable that will correspond to the list box.
Example
navigate("http://ubotstudio.com/playground/simple-form", "Wait") ui list box("Select a Month", "january,february,march,april", #select) type text(<username field>, #select, "Standard")
Selecting a list item from the list box and running the script navigates to a webpage and inserts the value of the list box into the specified field using the list box's variable.