How to use Virtual Lists
Written by: webDOMinator 3 years and 2 months ago
To create a simple virtual list to gather information to, you can use the list command along with a gather command using the list handle:
Code
listQuick 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.:myemails:sys.listdir^gatheremails.pop
gatherQuick Reference for "gather"
Click on command to see examples & comments
Program Level Commands
Usage: gather
Description: Gathers all possible items to all used lists. This command will gather from one page only To gather multiple pages, use autogather.:myemails
This creates not only a list in virtual memory where information would be gathered to, but in the "lists" folder of whichever plugin that is loaded, (or in the main "lists" folder located in the root webDOM directory,) a ".list" file is saved with the same name as the specified handle, in this case "myemails". The file placement is default when the "gatherfile" argument to the list command is omitted.
A simpler approach can be used in coding as well. Let's say that a plugin is already loaded, this means that most likely, the gathering options would already be set. If the "optionsfile" argument on the list command is omitted as well, the list's gather options are set to the currently loaded gather options, so for instance, you can leave out the ".pop" file if you just want to use the default plugin gather options.
Code
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./load up facebook
loadpluginQuick Reference for "loadplugin"
Click on command to see examples & comments
Program Level Commands
Usage: loadplugin:filename
Description: Load the site plugin specified by filename. The deprecated version of this command is loadprofile which will still work as an alias to loadplugin.:facebook
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./log in to facebook
loginQuick Reference for "login"
Click on command to see examples & comments
Program Level Commands
Usage: login
Description: Perform the login action on the currently loaded site plugin. A site plugin must be loaded, with a username and password entered for this to work.
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./load up my saved list of friend ID's into the info list section
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.:myfriends
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./load up the virtual list where I want emails to go... lists are shared across scripts
listQuick 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.:friendemails
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./Get the emails of all of my friends from the "myfriends" list
ca_allQuick Reference for "ca_all"
Click on command to see examples & comments
Program Level Commands
Usage: ca_all:action-name[:limits]
Description: Starts the automation process of running a Custom Action (CA) which is currently loaded in the Action Toolbox and is a "List based action". The action-name is the identifier used on the button for that action in the action toolbox. The limits can be either just one number which represents the number of people from the list to perform the action on, or if a ";" is used like: ca_all:Auto-Subscribe:5;30 then webDOM will peform the Auto-Subscribe action on users 5 through 30 from the information list.:Get Emails
Code
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./************ GET EMAIL SCRIPT
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./This is a custom action just called "Get Emails"
/Quick Reference for "/"
Click on command to see examples & comments
String Concatenation & Math Expressions
Usage: expresson1/expression2
Description: Divides expression1 by expression2./I changed it to use the "friendemails" list
#nameQuick Reference for "#name"
Click on command to see examples & comments
Script Level Commands
Usage: #name:text
Description: Sets the name of the script to text. This is a setting used for using scripts in the Action Toolbox. The name is used as a main handle to call the action by. It's used as the caption on the Button the script is placed on in the Toolbox. It's also used when calling the action in script using the "doaction" command.:Get Emails
navigateQuick Reference for "navigate"
Click on command to see examples & comments
Browser Level Commands
Usage: navigate:url
Description: Makes the browser navigate to the URL specified.:http://www.facebook.com/profile.php?v=info&id=^
wd.curinfoQuick Reference for "wd.curinfo"
Click on command to see examples & comments
WebDOM Program Variables
Description: Returns the value of the currently selected User ID or item from the info list.
regexgatherQuick Reference for "regexgather"
Click on command to see examples & comments
Program Level Commands
Usage: regexgatherQuick Reference for "gather"
Click on command to see examples & comments
Program Level Commands
Usage: gather
Description: Gathers all possible items to all used lists. This command will gather from one page only To gather multiple pages, use autogather.:regular-expression
Description: Matches any regular-expression that is on the currently loaded web page in the browser and adds it to the information list. This function will check for duplicates within the list as it gathers.:friendemails:\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b
This uses the regexgather command which matches a regular expression pattern and puts all the matches in the list. In this example, that's the pattern for emails, taken from @
driven's profile. What these two scripts do is, the first one, logs in to facebook and loads up the main info list