Is there anyway to change a document's name? Or create a document with a certain name?
Any help would be much appreciated
I don't fully understand the type Object. Since there is no specific reference for withProperties, I don't get how I would insert the parameters I need into a variable of the type "Object"
Is there somewhere I can see this?
ok.. my mistake. i just tried it and it doesn't work.
Apparently the ony way to chage the name of the document is by saving it with (another) filename
You can change the name of a document in two ways:
1. Open it, save it under a different name, and delete the original.
myDocument = app.activeDocument;
path = myDocument.fullName;
var x = path.toString().replace("oldName", "NewName");
//OldName is ur file's name. newName is the name u want to save it.
Europe, Middle East and Africa