Spin
From UBot Studio
(Difference between revisions)
Line 7: | Line 7: | ||
<pre>UBot makes working {a breeze| more efficient| less time consuming}</pre> | <pre>UBot makes working {a breeze| more efficient| less time consuming}</pre> | ||
− | '''Text To Spin:''' Where the spin ready text is placed for spinning. Accepts variables and functions such as [[$next list item]], [[$list item]], [[$random list item]], [[$previous list item]], and [[$table cell]] | + | '''Text To Spin:''' Where the spin ready text is placed for spinning. Accepts variables and functions such as [[$next list item]], [[$list item]], [[$random list item]], [[$previous list item]], and [[$table cell]]. |
== Example == | == Example == |
Revision as of 19:47, 1 May 2013
$Spin is a Text Function.
The function returns a spun version of a given text. The text must be in spin ready format in order to be spun by the function.
An example of a spin ready sentence is:
UBot makes working {a breeze| more efficient| less time consuming}
Text To Spin: Where the spin ready text is placed for spinning. Accepts variables and functions such as $next list item, $list item, $random list item, $previous list item, and $table cell.
Example
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") wait(3) type text(<about me textarea>, $spin("UBot makes working \{a breeze| more efficient| less time consuming\}"), "Standard")
Running the script fills the field with a spun version of the spin ready sentence in the spin function.