Everytime I run my script and add a document the default filename is "Untitled-x*". I would like to be able to provide a default name for the document. Is there a way to do this using Extendscript?
Here is how I'm adding a Document currently:
var doc = app.documents.add(DocumentColorSpace.RGB, width, height, 1);
I was hoping for a parameter to provide a name, but the Javascript Illustrator Extendscript PDF reference doesn't show anything under "Document".