Reply To: Help with a script to unlink 'Place and Link' content

#65341
David Nightingale
Participant

I’ve kind of solved this. 2 lines of code, that could perhaps be written a little better, i’m not the best at writting code.

app.activeDocument.links.everyItem().unlink()
app.activeDocument.links.everyItem().unembed()

The first line of the above will unlink every item. This removes the ‘Place and Link’ content but it embedding other images. The second line will then unembed these images returning them to how they were.

This article was last modified on September 17, 2013

Comments (0)

Loading comments...