Page 1 of 1

Can I create ArtBoards via scripting in PS?

Posted: Fri Apr 28, 2017 3:57 pm
by neuDev33
Can I create ArtBoards in PS programmatically?

When I inspect an Artboard in the ExtendScript Toolkit, I see that it is a LayerSet. I know how to add LayerSets to a document via ExtendScript(app.activeDocument.layerSets.add()), but I'm not sure how to convert this to an ArtBoard.

Any ideas?

Re: Can I create ArtBoards via scripting in PS?

Posted: Fri Sep 22, 2017 8:25 pm
by iMatt
There's a very useful forum post here:
https://forums.adobe.com/thread/1867670

That outlines accessing a number artboard properties and methods that are not exposed in the Photoshop DOM.
Otherwise you'll need to use the script listener to do anything with artboards. The documentation hasn't been updated to include them.