ExtendScript – Illustrator: Make new document

How to make a new document in illustrator with extendscript


alert(“making new artboard!”)
var width = 100
var height = 500
var newDoc = app.documents.add(DocumentColorSpace.RGB, width, height, 1);

// source:
// https://stackoverflow.com/questions/60960165/when-adding-a-document-in-adobe-illustrators-extendscript-is-there-a-way-to-set

Tags:
Scripts, adobe illustrator scripting,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s