[Mac][JS] Where does InDesign store last "Save As" folder path?
Is this location accessible to scripting? I've looked around the preferences objects as well as the "Class" properties of the File and Folder objects without finding anything.
Coming up empty-handed there, I looked through the filesystem for .plist files it might be using. It must be stored in some such place, because the location persists across sessions and survives a trashing of the InDesign Defaults file at ~/Library/Preferences/Adobe InDesign/Version 7.0/en_US/InDesign Defaults. It also seems to write the location to wherever it lives immediately upon a Save As rather than at application close. I've tried discovering the location with lsof but either can't catch it in the act or am missing which of the hundreds of files InDesign has open is the culprit.
It does not appear to be in com.adobe.InDesign.plist or com.adobe.mediabrowser.plist. There is a path property (NSNavLastRootDirectory) stored in the former file but it's not the one.
I hope I'm making this more complicated than it is and that it can be accessed in a DOM property somewhere. Does anyone know?
Jeff
