webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to Information Lists

splitlist

Usage...
splitlist:handle[;rangelow-rangehigh]:numlists[:rename]
Splits the list specified by handle to a new set of lists. Lists will open in the list manager. The main required arguments are the handle and the numlists which specifies the number of lists to split into. If only a range of items in the list need to be used in the split, rangelow and rangehigh can be used (seperated by a "-") to specify the limits of what items will be used for the split (i.e: 101-200 would pull just entries 101 through 200 for the split). The rename argument can be set to specify a new name for the lists. Lists will be named "name01, name02, etc."
This applies to webDOM version 3.0.0 and above.

User Comments on splitlist

Usage examples of the Splitlist command

Written by: webDOMinator 1 year and 5 months ago

This command is quite powerful to create new lists on the fly in script. It has a couple options that you will also find in the user interface for "split" in the list manager.

For the following examples, imagine that I have a list called "blogURLs". Wherever you see "blogURLs", just imagine that you are using your own list name.

Example 1. Splitting a list into 2

Code
//will output 2 lists. blogURLs1 and blogURLs2
splitlist:blogURLs:2

Example 2. Splitting a list into 10
Code
//will output 10 lists, blogURLs01, etc.
splitlist:blogURLs:10

Example 3. Splitting just part of a list into 2
Code
//will output 2 lists but the first split list will include items 201-300 from the original list, and the second split list will include items 301-400 from the original.
splitlist:blogURLs:201-400:2

Example 4. Using splitlist as a way to just export a chunk of a list instead of splitting
Code
//just use 1 as the numlists argument
splitlist:blogURLs:101-200:1

Example 5. Splitting a list into a series of lists named newblogs
Code

splitlist:blogURLs:5:newblogs

Post a Comment About the "splitlist" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010, 2011, 2012 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.