UI block text
From UBot Studio
(Difference between revisions)
(→Example) |
|||
(2 intermediate revisions by one user not shown) | |||
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. | ||
− | + | '''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 == | ||
<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> | ||
+ | |||
Running the script fills the field on the webpage with the block of text pasted in the UI block text. | Running the script fills the field on the webpage with the block of text pasted in the UI block text. | ||
− | [[File:blocktext. | + | |
+ | [[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.