UI text box
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
This command is a [[UI Commands|UI Command]]. This command creates a field in the UI portion at the top of the browser. | This command is a [[UI Commands|UI Command]]. This command creates a field in the UI portion at the top of the browser. | ||
− | + | '''Label:''' refers to the label for the text box as it appears on the interface. | |
− | + | '''Corresponding Variable:''' refers to the name for the variable that will correspond to the UI text box. It can be inserted into a type text command to fill a field. | |
+ | |||
+ | |||
+ | == Example == | ||
− | |||
<pre> | <pre> |
Revision as of 16:55, 25 April 2013
This command is a UI Command. This command creates a field in the UI portion at the top of the browser.
Label: refers to the label for the text box as it appears on the interface.
Corresponding Variable: refers to the name for the variable that will correspond to the UI text box. It can be inserted into a type text command to fill a field.
Example
ui text box("My Keyword:", #keyword) type text(<name="q">, #keyword, "Standard")
Typing a keyword into the UI text box on the UI and running the command will fill the field on the webpage with the keyword typed into the UI text box.