UI text box
From UBot Studio
(Difference between revisions)
Line 13: | Line 13: | ||
type text(<name="q">, #keyword, "Standard") | type text(<name="q">, #keyword, "Standard") | ||
</pre> | </pre> | ||
+ | |||
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. | 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. | ||
+ | |||
[[File:uitextbox.png]] | [[File:uitextbox.png]] |
Revision as of 12:51, 21 May 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.