Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I've tried this applescript code for Illustrator CS6:

tell application "Adobe Illustrator"
 make document with properties {name:"anyName"}
end tell

but couldn't affect the name of newly created doc. I do can create layers with any name I want, but the document itself not.

Is it 100% impossible?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I've found the answer in Adobe Scripting Guide -

"the name property of the document object in most Adobe applications is read-only; therefore, you cannot use a script to define or change the name of an existing document (although you can use a save as command or method"

thus, I cannot create a new document with a particular name using applescript, however I can "name" it by using SaveAs option...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.