UI block text

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
 
Line 9: Line 9:
  
 
<pre>
 
<pre>
 +
 
navigate("http://ubotstudio.com/playground/simple-form", "Wait")
 
navigate("http://ubotstudio.com/playground/simple-form", "Wait")
 +
wait(3)
 
ui block text("Place Text Here:", #block text)
 
ui block text("Place Text Here:", #block text)
 
type text(<about me textarea>, #block text, "Standard")
 
type text(<about me textarea>, #block text, "Standard")
 +
 
</pre>
 
</pre>
  
Line 18: Line 21:
  
  
[[File:blocktext.png]]
+
[[File:blocktext.jpg]]

Latest revision as of 15:12, 25 September 2013

This command is a UI Command. This command creates a large text field in the UI portion at the top of the browser.

Label: refers to the label for the large text box as it appears on the interface.

Variable: refers to the name for the variable that will correspond to the UI block box. It can be inserted into a type text command to fill a field.


[edit] Example


navigate("http://ubotstudio.com/playground/simple-form", "Wait")
wait(3)
ui block text("Place Text Here:", #block text)
type text(<about me textarea>, #block text, "Standard")


Running the script fills the field on the webpage with the block of text pasted in the UI block text.


Blocktext.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox