Can I create ArtBoards via scripting in PS?

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: xbytor, DavideBarranca, Paul MR

neuDev33
Posts: 1
Joined: Fri Apr 28, 2017 3:54 pm

Can I create ArtBoards via scripting in PS?

Postby neuDev33 » Fri Apr 28, 2017 3:57 pm

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?

iMatt
Posts: 3
Joined: Fri Sep 22, 2017 8:13 pm

Re: Can I create ArtBoards via scripting in PS?

Postby iMatt » Fri Sep 22, 2017 8:25 pm

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.


Return to “Photoshop Scripting - General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests