Clear List
From UBot Studio
(Difference between revisions)
(Created page with "Clear List is a Data Command. This command empties the contents of a list and resets the position to 0. == Example == <pre> navigate("http://www.fruitsi...") |
|||
(2 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
This command empties the contents of a list and resets the position to 0. | This command empties the contents of a list and resets the position to 0. | ||
+ | |||
+ | '''List:''' The list that will be cleared. | ||
Line 17: | Line 19: | ||
The script above will populate the list, wait 6 seconds, and then clear the list of its contents. | The script above will populate the list, wait 6 seconds, and then clear the list of its contents. | ||
− | [[File:clear. | + | |
+ | [[File:clear.jpg]] |
Latest revision as of 17:51, 23 September 2013
Clear List is a Data Command.
This command empties the contents of a list and resets the position to 0.
List: The list that will be cleared.
[edit] Example
navigate("http://www.fruitsinfo.com/tropical-fruits.php", "Wait") add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global") wait(6) clear list(%one)
The script above will populate the list, wait 6 seconds, and then clear the list of its contents.