-
AppleScript get the “path” to image in InDesign
I’ll start by saying that my level of expertise in AppleScript, and InDesign for that matter, is pretty rudimentary. That said, if you look at the attached screen shot. It shows a very simple AppleScript that sets a variable to all the images in a InDesign document.
The right hand side of the screen shot shows the list of images with a value for each image. I would consider the values to be the full path to each image.
What I want is to be able to set a variable to those full path strings so that I can essentially set a field in a database to the full path string with subsequent AppleScript steps.
I can’t figure out how to simply get the list of the values that you can see in the screenshot as a string.
In other words, I want to set a variable to:
image id 1808 of rectangle id 1445 of spread id 185 of document id 1
image id 1687 of rectangle id 1661 of spread id 185 of document id 1
…etc…
Can anyone help me with this?