I have a problem with the old PageSpinner 5.2.1 that has not been updated for a long time and it can no longer remember the last opened folder in Open dialogs and always default to the same ~/Documents folder. Is there a way to change the default folder for a specific application and/or for all applications Open… dialog?
How to make the Open… dialog default to another folder
dialog
Related Question
- MacOS – “Application opened for the first time” warning after every reboot
- MacOS – Destroyed text in sudo dialog
- MacOS – the shortcut for confirming dialogs on Mac
- MacOS – Is it possible to prevent TextEdit’s “The file has been changed” dialog from appearing unnecessarily
- MacOS – AppleScript progress bar bug: How to prevent progress dialog from lingering
- Change File Picker Dialog folder location (avoid latest visited folder)
- Big Sur – unresponsive dialogs to mouse actions
Best Answer
The Open... Dialog defaults to the current folder for MOST applications. You chan change this by changing directory in Terminal (note that in my experience, some applications, especially Java ones do not follow this default behavior and in stead open the same directory every time, I assume this is hard-coded in the application).
Now to the meat of your question: can we change this behavior on a per-application basis, using the tools OS X has pre-installed? My guess is yes!, though I don't have time to do the research right now. What we'd be looking for is:
Others should definitely feel free to flesh out my skeleton code, please don't accept this answer until it is complete. I'll look again tonight and see if I can't finish that out. Potentially helpful link