Delete Anchored objects
Copy link to clipboard
Copied
Hello ! Having a lot of files coming from our client with anchored objects, can we please have an option to delete it even in the "inline or above line objects" mode ? (cut and paste it is not a great solution as it doesn't stay at the same place as it was)
Would save so much time to so many people !!!
Copy link to clipboard
Copied
Right-click on the Anchored object, then choose Achored Object/Release.
Copy link to clipboard
Copied
I have right clicked the object and see a dropdown list with Anchored Object. I then clicked Anchored Object and was given one option which was another dropdown of "Options". When I click the the options dropdown I see no option to 'release'. Is there some other way to get to the release option?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
@BrantlyGoodwin said: " … When I click the the options dropdown I see no option to 'release'. Is there some other way to get to the release option?"
Hi @BrantlyGoodwin ,
what always is working:
[1] Select the anchored object
[2] Zoom to e.g. 200 % to center the selected object in the layout window
[3] Cut the selected object to the clipboard ( Cmd + x / Ctrl + x )
[4] Paste ( Cmd + v / Ctrl + v )
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Marc Autret wrote a script that will release all anchored objects in your document. Read this thread: https://community.adobe.com/t5/indesign-discussions/release-all-anchored-objects-at-once/m-p/380794...
Copy link to clipboard
Copied
So you don't want to delete them permanently - but release / unanchor?
Copy link to clipboard
Copied
Hi @Anne35404369uvu5 ,
to remove (delete) all anchored objects in a document could be done with one line of code in ExtendScript (JavaScript):
app.documents[0].stories.everyItem().texts.everyItem().pageItems.everyItem().remove();
Well, not the ones in table cells and footnote texts.
This requires extra effort…
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
app.documents[0].stories.everyItem().texts.everyItem().tables.everyItem().cells.everyItem().pageItems.everyItem().remove()
should do the trick?
But instead of remove() - release() anchoredObjectSettings.releaseAnchoredObject() should work for @Anne35404369uvu5 - in both cases.
Copy link to clipboard
Copied
Hi Robert,
that would remove items in graphic cells as well.
And don't forget the footnote texts.
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Robert said: "But instead of remove() - release() anchoredObjectSettings.releaseAnchoredObject() should work for @Anne35404369uvu5 - in both cases. "
Not the ones that are inline and above line anchored.
You first have to change the kind of anchor to, well, anchored.
Regards,
Uwe Laubender
( Adobe Community Expert )

