Skip to content

The Variable Importer script enables you to automate many of the previously annoying aspects of the usual methods of importing variable data into Illustrator.

License

Notifications You must be signed in to change notification settings

zawahirkashif/VariableImporter

Repository files navigation

What is Variable Importer?

The Variable Importer script enables you to automate many of the previously annoying aspects of the usual methods of importing variable data into Illustrator. The top issues resolved with the script are:

  • XML is generated automatically by the script, allowing you to import a plain old csv file just like InDesign.
  • Filepath to images automatically linked by the script. No more hunting down the correct syntax to input a filepath into your csv.
  • Variables can be “auto bound” to objects, sparing you yet another annoying step of manual binding
  • You can customize Dataset names at import time. There are many more little niceties within the script, so let’s go ahead and take a look.

Get The Variable Importer Script

Download

First we have to get the script installed in Illustrator. To do this, first go to the Variable Importer.

Once you get there, click on “VariableImporter.jsx”, then click the “Raw” button (shown in screenshot above). This will bring up a page that contains the raw code of the script. From here just “Save as…” from your browser to download (don’t just right-click the “VariableImporter.jsx” and save, because that way will introduce errors into the script – make sure to only save the “raw” code).

  • Now drag and drop the script in your illustrator.

Variable Importer Dialog Box

  • Create a .csv file you want to insert in your illustrator template

Test Data CSV file

  • Choose the .csv file

Select Test Data CSV file

image

  • Click on option in the Variable Import dialogue

Import Variables

image

  • Click on import variable
  • Goto windows > variables in Adobe Illustrator.

Variable Window In Illustrator

image

  • Now we will bind the the variables

Binding Variables

5452934.ai_.@.66.67.RGB_Preview.-.27.May.2022.mp4

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Your Name - @SMZawahir1 - zawahirkashif@gmail.com

Project Link: https://github.com/zawahirkashif/VariableImporter

About

The Variable Importer script enables you to automate many of the previously annoying aspects of the usual methods of importing variable data into Illustrator.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages