UI text box
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
+ | navigate("bing.com", "Wait") | ||
+ | wait(3) | ||
ui text box("My Keyword:", #keyword) | ui text box("My Keyword:", #keyword) | ||
type text(<name="q">, #keyword, "Standard") | type text(<name="q">, #keyword, "Standard") | ||
+ | |||
</pre> | </pre> | ||
Line 18: | Line 21: | ||
− | [[File: | + | [[File:uitext.jpg]] |
Revision as of 15:07, 25 September 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
navigate("bing.com", "Wait") wait(3) 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.