Skip to main content
Known Participant
February 6, 2024
Answered

Create multiple artboards from a CSV File

  • February 6, 2024
  • 3 replies
  • 7880 views

Hello! 

I often have to create multiple artboards in photoshop, and I was asking myself if there wasn't a script or plugin allowing to create multiple artboards from a .CSV or excel file.

I am wasting so much time at creating art board at the right size, and naming them after their dimensions:

 

I am aware something like this is possible in illustrator, from what I have seen in another thread:
https://community.adobe.com/t5/illustrator-discussions/question-creating-artboards-at-different-sizes-from-csv-file/m-p/13335388

The same would exist for photoshop ?


Thank you for your upcoming answers

Correct answer Stephen Marsh

Here it is! Maybe it's the comma/semi-colon, that's causing an issue

 


CSV stands for Comma Separated Value, not Semicolon Separated Value! :]

 

I understand that in different countries different separators are used and that separators are not universal, however, the original script was only built to accept commas or colons.

 

If using semicolons suits your workflow better, then the script can be altered...

 

From:

 

var data = curRow.split(/,|:/);

 

 

To:

 

var data = curRow.split(/,|:|;/);

 

 

NOTE: The actual names/width/height content must not contain such characters!

3 replies

Participant
May 30, 2025

Hi Ernesto! 
You could also try the Multiple Artboard Generator for Adobe Illustrator script I created:
https://iamharm.gumroad.com/l/MultipleArtboardsFromCSV

This script generates multiple artboards in Adobe Illustrator for you from a csv file. You specify the names for the artboards and their dimensions in the csv file and the script will do the rest. When you run the script there is a dialogue box that will allow you to specify the units (pt, px, mm, in) as well as the spacing between the artboards.

I also made a video showing how it works: 
Multiple Artboard Generator for Adobe Illustrator

Known Participant
February 7, 2024

THANK YOU VERY MUCH! 

It is greatly appreciated! The artboard renamer script, is fire too!
I just have an issue with the artboard from csv script, when launching it, nothing seems to happen!
Here is a screen record of me doing it:

Thank you again you are the greatest!

Known Participant
February 8, 2024

If you can demonstrate how this would work, then it may be easier for me to make an action or script to run afterwards.

 

Perhaps somebody else can offer a revised code snippet to layout the CSV data horizontally...


I got confused, because I thought that as in Indesign you had a spacing option between pages/artboards. But I forgot that photoshop doesn't offer it, so I think it will be difficult to create an action after having created the artboards.
Because I have to move the artboard manually then space them and align. If there was a spacing option like in indesign, something automated would be possible… but unfortunately I have to select artboards manually + space them manually. (Does that make sense ?)

Here is a screen record:

Davide_Barranca12040269
Legend
February 6, 2024

From the code at that link:

I'll put that in my LinkedIn profile 😄 

Davide Barranca - PS developer and authorwww.ps-scripting.com