1.What's your name?
2.What's you phone number?
end result: Bill-555-5555.indd
We have several naming protocols for files based on their job type and we would like to automate the naming upon save.
I know where to obtain the data, I just don't know how to write it to the save-as dialog.
Does this help?
var myFile = File("~/Desktop/myName.indd");
var myFile = myFile.saveDlg(myFile);
Basically, you create a file object (the file referenced by name does not need to exist; indeed, if it does, you'll overwrite it with this code). Then the saveDlg call opens the Save As dialog with the name of the file object you just created and at the folder that would hold that file if it existed. I chose to use the desktop but it could be any folder anywhere.
I'll check it out right away.
Awesome answer. Thanks very much for your help.