UI block text

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
This command is a [[UI Commands|UI Command]]. This command creates a large text field in the UI portion at the top of the browser.  
 
This command is a [[UI Commands|UI Command]]. This command creates a large text field in the UI portion at the top of the browser.  
  
== Example ==
+
'''Label:''' refers to the label for the large text box as it appears on the interface.
  
* 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.  
  
* 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.
+
 
 +
== Example ==
  
 
<pre>
 
<pre>

Revision as of 16:56, 25 April 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.


Example

navigate("http://ubotstudio.com/playground/simple-form", "Wait")
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.

File:Blocktext.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox