Hi
I currently have a document containing 1000’s of inline .eps icons that I want to tag with a script label depending on which icon is found.
So far I have the following that doesn’t work.
tell application "Adobe InDesign CC 2015"
tell document 1
repeat with target in (get stories's all graphics)
if target's link name contains "FileName1" then
set target's parent's parent's label to "FileName1"
end if
end repeat
end tell
end tell
I have this that does work but I need to test individual link names for different script tags.
tell application "Adobe InDesign CC 2015"'s document 1 to repeat with target in (get stories's all graphics) --anchored objects
set target's parent's parent's label to "FileName1"
end repeat
thanks
Shane