Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

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

$
0
0

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 visibilitydesignation 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.


Viewing all articles
Browse latest Browse all 12845

Trending Articles