I’m a complete rookie and have been learning applescript for different purposes. I came across a SaveDocumentAs.as script but am unable to get it to work.
Is the script deficient or is it user error?
Here’s the example I’ve been trying to use:
--SaveDocumentAs.as --An InDesign CS2 AppleScript --If the active document has not been saved (ever), save it. tell application "InDesign CS.app" if saved of active document is false then --If you do not provide a file name, InDesign will display the Save dialog box. tell active document to save saving in "Macintosh HD:Users:ramon:Desktop:2testing_1220.indd" end if end tell
Thanks for the help in advance.
Model: iMac G5
Browser: Firefox 1.0.7
Operating System: Mac OS X (10.4)