Remove From List

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "Remove From List is a Data Command. This command will remove a list item by list position == Example == <pre> navigate("http://www.fruitsinfo.com/tropical-...")

Revision as of 19:37, 22 March 2013

Remove From List is a Data Command.

This command will remove a list item by list position

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")
remove from list(%one, 0)

Notice that there is nothing in the list position 0. It is just taking up space without any value.


File:Remove0.png


Setting the list position in the remove from list command to 0 allows us to remove that blank space. Notice that the rest of the list move up.

No empty space is left in the script.

File:Remove1.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox