I’m trying to get the path of an image in Indesign. I found this script here but I can’t seem to get it to work.
tell application "Adobe InDesign CS3"
tell front document
set imagepath to file path of item link of selection
end tell
end tell
I get this error message.
Adobe InDesign CS3 got an error: Can’t get file path of item link of selection of document 1.
Am I doing something wrong?