Hi there,
I'm trying to make Photoshop CS2 recognize externally from VB/VBA a change the folder that a user saves a newly created (in this case, scanned) document to.
(e.g., this is the folder that appears when you click File -> Open or File -> Save As, I want to programatically change that while the user is in my application so they can switch to Adobe, scan in a new document, click File -> Save As and be presented with the correct directory to put this image in)
I added Adobe Photoshop 9.0 Object Library to my project and I tried finding this as a property in the Adobe Application, but it doesn't appear there. It turns out that it's kept in the registry (see code snippet below). I try changing this in the registry, but I can't seem to find a way to "ping" Adobe to pick up the registry change. I tried the code snippet below to open a "dummy" file in an attempt to force the directory change that way, as though the user were opening a new file in the directory I want them to be in, but still no go, it doesn't change the registry. It looks like the only two ways I can force this is to manually do it from the UI, or to change the registry entry and restart Adobe. Neither of those are viable options.
Any thoughts please? My client is still stuck on Adobe Photoshop 5.5 (yes 5.5) becuase that still used INI files and that version picked up the currently active directory changes to the INI files.
thanks!