UI button

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
 
(One intermediate revision by one user not shown)
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:button.jpg]]

Latest revision as of 16:26, 25 September 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.

[edit] 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".


Button.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox