Highlighted

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

Adobe Community Professional ,
Mar 06, 2015

Copy link to clipboard

Copied

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.

Topics

Scripting

Views

10.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Adobe Community Professional ,
Mar 06, 2015

Copy link to clipboard

Copied

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.

Topics

Scripting

Views

10.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mentor ,
Mar 06, 2015

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Mar 07, 2015

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Apr 08, 2015

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Add a group