WR-collect

This script collects all linked files into a subfolder of the documents folder (linked images). It is similar to the VB-example script on the Illustrator-CD, except that you cannot select the output folder for the Images (because of limitations in javascript).

You can customize the foldername for the images by changing the line

var linkedimagesfolder ="links";

To collect to a copy to a new folder first save your document, then save it to a new folder and execute this script. Let the script set the paths of the linked items to the new folder and again save the document.

Under Windows-based-Systems there is a Problem with Networkshares and the assigned drive-letters. Illustrator always adds the network-path to the drive-letter of the documents, so Illustrator claims the file does not exist. To solve the Problem you have to change the variables (arrays) network_remove and network_replace. Remember to write it the correct way.