How to Programmatically Set Default Directory in macOS Photoshop Open/Save Dialog?
I have a use case involving Adobe Photoshop on macOS where I need the Open/Save dialog panel to automatically open a specific directory—ideally one where my test files are already located.
Is there a way to achieve this programmatically on macOS? I'm open to solutions using:
- AppleScript
- Automator
- Shell scripts
- Photoshop scripting (ExtendScript or UXP)
- Any other relevant macOS APIs or tools
The goal is to streamline the workflow by pre-setting the folder path when the dialog appears.
Has anyone implemented something similar or can point me in the right direction?
Thanks in advance!
— Varadharajan Venkat
