I'm working on an InDesign script that is renaming unique links and updating those links, and also identifying links that are used in multiple locations in the book. For unique links, the script handles the renaming based on page, position, etc., but for the common images, I need to provide a User Interface where the user could view a thumbnail of all the images and choose new names for them. I thought about using InDesign's ScriptUI, but I can't pass certain types of images (.ai, .psd) to ScriptUIImages. I haven't done any scripting in Bridge, but what I need sounds like a Bridge function.
Does anyone have any pointers on: 1) How to pass the link references back to Bridge to open thumbnail previews of all the repeated images at once; and 2) Provide a way to rename those files individually then pass them back to the ID script. I am collecting the link filepaths, names, etc. as I go.