Naming new document
As part of an AppleScript I'm developing, I'm creating a new document which I want to give a specific name. So I tried:
tell application "Adobe Illustrator"
make new document with properties ¬
{color space:RGB, name: myString}
end tell
However, the document always appears with the name "Untitled-1". Is there a way of giving the document a name when you create it? Or can you only do it when saving?