Copy link to clipboard
Copied
I've tried this, but it does not work.
tell application "Adobe InDesign CC 2014"
set myDocument to active document
set selectedRectangles to selection of myDocument
set theGraphicsLink to file path of item 1 of selectedRectangles
end tell
I hope someone can help me.
Copy link to clipboard
Copied
-- This works in CS6:
tell application "Adobe InDesign CS6"
set myDocument to active document
set selectedRectangles to selection of myDocument
set theGraphicsLink to file path of item link of (graphic 1 of (item 1 of selectedRectangles))
--> "Macintosh HD:folder/folder/filename.tif"
end tell
Find more inspiration, events, and resources on the new Adobe Community
Explore Now