How can you manipulate the alert/menu that pops up when you open a file with a broken linked smart object?
I would like to create a script that opens all PSDs in a given folder, accesses the relink alert that first opens when there is a broken linked object, and uses a user inputted path to direct the relink function to.
So far I have a script that takes an input path and accesses all psd and psb files in that directory, but I don't know how I can send a path to the PS popup menu. Relatively new to Photoshop Scripting. Any help would be greatly appreciated!
EDIT: After several days of trying to bypass this modal dialog, I can't find a way to interact with it except manually. I've tried app.DialogModes.NO; I've tried playing with app.scriptPreferences.userInteractionLevel, I've tried calling an action with dialogs toggled off. I've tried copying the exact commands from the listener plugin when I step through the menu manually (this does nothing to close the dialog), I've tried to identify the dialog or its parent so I can use close() or cancelElement (long shot).
Again, I'm fairly new to PS scripting, but I feel like I'm banging my head against the wall. WHAT is this dialog!
Message was edited by: Andrea Bobick
