Activate Clipping path in InDesign CS2

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

Any help would be greatly appreciated!
Dave

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.

Update - this is definatley a bug - and I don’t have a workaround for it…anyone with any ideas?

I think you are correct, I tried the same thing with “Detect Edges” and it worked. HOW FRUSTRATING! :mad:

If anyone can find a work around I would really appreciate it!

fixed!!!

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

oooppps…not fixed…sorry - still the same problem…