Using the add_all command and pre-save your list
Written by: webDOMinator 1 year and 10 months ago
when using the add_all command if you don't want the save dialog box to popup you need to have a list loaded, or set the list file name.
Code
setlistfileQuick Reference for "setlistfile"
Click on command to see examples & comments
Program Level Commands
Usage: setlistfile:filename
Description: Sets the list file to save to. This is for use when the automatic list saving option is activated. In your script, before performing the autogather function when you're starting a brand new list, use this command to make it so that webDOM doesn't pop up a "save list" dialogue and halt automation.:friends
autogatherQuick Reference for "autogather"
Click on command to see examples & comments
Program Level Commands
Usage: autogather[:number-of-items]
Description: Makes webDOM gather a certain number-of-items from the current browser page. The current page on the browser should be a page in a list of pages, with Next links to eachother. webDOM will stop autogathering as soon as it has reached the limit imposed by number-of-items specified or if it gets to last page of the list of users. If number-of-items or any other Auto-Gather limit setting is not used, autogather will stop when it cannot find a next page link.
add_allQuick Reference for "add_all"
Click on command to see examples & comments
Program Level Commands
Usage: add_all[:number]
Description: Start the automation process of adding all of the people on the currently loaded user ID list as friends. If number is used, then automation will only add that number of friends.:50
The above code would set the list file name and then everyone gathered through auto-gather and added would be saved in that list.
Code
loadlistQuick Reference for "loadlist"
Click on command to see examples & comments
Program Level Commands
Usage: loadlistQuick Reference for "list"
Click on command to see examples & comments
Information Lists
Usage: list:handle[:optionsfile;gatherfile]
Description: Creates a new virtual list. Virtual lists do not have limits and are accessed through their handles. When webDOM gathers, it can be set to gather any usable virtual list.:filename
Description: Load the list specified by filename into the info list section.:friends
add_allQuick Reference for "add_all"
Click on command to see examples & comments
Program Level Commands
Usage: add_all[:number]
Description: Start the automation process of adding all of the people on the currently loaded user ID list as friends. If number is used, then automation will only add that number of friends.:50
The above code would just load the friend ID lists and Add 50 of them as friends. IF you do not use a loadlist command or setlistfile command and there is no list currently loaded before you do an action like add_all or gathering... you will get a dialog box asking where you want to save the list because webDOM doesn't know were to put the information.
If you'd like to turn off auto-saving, you can click on the main Plugin icon and uncheck the option "Save list after every action"