I’ve created a script to activate a clipping path on an image placed in InDesign. When I go into the clipping path dialog has changed the settings to what I want, but the picture still isn’t “showing” up correctly on the page. Is there some type of “display” update I need to perform?
Here is the script…
tell application "Adobe InDesign CS2"
set properties of clipping path of parent of kLinkRef to {clipping type:photoshop path, applied path name:"Path 1", restrict to frame:true}
end tell
Same problem here - I’ve even tried updating the links in the script - and that doesn’t seem to work either… I think this is a bug…now we have to find a workaround for it.
tell application "Adobe InDesign CS2"
tell document 1
set snumberLinks to links whose name contains "S0"
repeat with i from 1 to (count snumberLinks)
set myLink to item i of snumberLinks
set thisImage to parent of myLink
tell thisImage
tell clipping path
set clipping type to photoshop path
try
set applied path name to "Path 1"
on error
set applied path name to "Path 2"
end try
end tell
end tell
end repeat
end tell
end tell