UI button
From UBot Studio
(Difference between revisions)
Line 19: | Line 19: | ||
</pre> | </pre> | ||
+ | |||
Clicking the button on the UI labeled Google Search navigates to google and searches for the word "Taupe". | Clicking the button on the UI labeled Google Search navigates to google and searches for the word "Taupe". | ||
+ | |||
[[File:uibutton.png]] | [[File:uibutton.png]] |
Revision as of 12:53, 21 May 2013
This command is a UI Command. This command creates a button on the UI area within your bot.
After dragging the command into the scripting area, you can fill the command with others commands, and the end user will only have to click that button to run the task within the command.
Clicking the Run button in UBot Studio does not execute the commands.
Label: refers to the label for the UI button.
Example
ui button("Google Search") { navigate("google.com", "Wait") wait(5) type text(<name="q">, "Taupe", "Standard") }
Clicking the button on the UI labeled Google Search navigates to google and searches for the word "Taupe".