Skip to main content
Participating Frequently
September 2, 2017
Answered

How to create artboards from script?

I need create about 20 artboards different sizes from scripting. How can I do it?

Manual PS CC 2015 doesn't even contain a word "artboard"

After I will try to place at the artboards some linked smart objects, texts and so one.

This topic is closed to new replies. Start a new post to keep the conversation going.
Participant
October 2, 2017

HI

I make a lot of static banners in my daily work, and manually making artboards sucks! So i made this script to help me out.)

it take an Array of width and height  as manny as you want ( var sizes = [[488,150],[744,236]] )
and then in a for loop runs a function ( createNewArtboard ) and space them out verticaly with a 20pixel spacing.

download it here . ----->  Dropbox - makeartboards.js

Maybe you can use it.

regards Kristian

9 replies

Participant
October 2, 2017

HI

I make a lot of static banners in my daily work, and manually making artboards sucks! So i made this script to help me out.)

it take an Array of width and height  as manny as you want ( var sizes = [[488,150],[744,236]] )
and then in a for loop runs a function ( createNewArtboard ) and space them out verticaly with a 20pixel spacing.

download it here . ----->  Dropbox - makeartboards.js

Maybe you can use it.

regards Kristian

Translate
Participating Frequently
October 2, 2017

Thank you! It works

Translate
c.pfaffenbichler
Community Expert
Community Expert
September 4, 2017

Have you tried using ScriptingListener-plugin to record the code for the operation and then wrap the code in a function yet?

Translate
Participating Frequently
September 4, 2017

Not yet. I will try. Thank you.

Translate