Skip to main content
Silly-V
Legend
March 7, 2015
Question

Importing CSV and TXT files as Illustrator datasets: VariableImporter.jsx

  • March 7, 2015
  • 1 reply
  • 13698 views

Just in case any body would like to have the ability to import .csv and tab-delimited .txt files into Adobe Illustrator as datasets, (similar to Indesign's Data Merger), here is a tool which will help you out. Using the VariableImporter, it is now possible to import those formats, designate header columns (which will be variable names in Illustrator), and to specify Text/Visibility/Link variable types for each variable.

To assign visibility designation to a variable, you can use the # ('pound') symbol in front of the column name.

To assign linked file designation to a variable, you can use the @ ('at') symbol in front of the name.

The names have to follow XML tag naming standard:

  • Names can contain letters, numbers, and other characters
  • Names cannot start with a number or punctuation character
  • Names cannot start with the letters xml (or XML, or Xml, etc)
  • Names cannot contain spaces

The link to the file in repo is here:

Adobe-Illustrator/VariableImporter.jsx at master · Silly-V/Adobe-Illustrator · GitHub

For those who may now know:

To run, go to above link, and click on the "Raw" button, download by using browser's context menu and choose "Save As" with a .jsx extension. It will run when double-clicked, and also by choosing File > Other Script inside Illustrator.

This topic has been closed for replies.

1 reply

Inspiring
March 7, 2015

Thanks for sharing, very impressive, .nice UI, impressive features, etc.

You may just wish to include a simple data txt / csv example in your "how to" write up for people as some may not be familiar with things. Again great job.

PS: I expect many great things to begin appearing at your new github presence.

Silly-V
Silly-VAuthor
Legend
March 7, 2015

Thanks! Hey, the closest thing to a "how-to" is the body of text in the display window which is in the Question button. Perhaps I could attempt a web link with somekind of slideshow.