Automate deleting empty text frames?

New Here ,
Jan 29, 2016

Copy link to clipboard

Copied

For a reason I'll explain below, each graphic frame in our thousands of pages of FrameMaker documents has within it a text frame containing only a marker. We no longer need the markers. I can quickly search for and delete the markers, but this leaves empty text frames. Is there an easy way to get rid of these empty frames? If not, is there a not-easy way, like creating a script?

I don't think that the frames, or the markers, for that matter, will cause any problems in the documents, but they will be mysterious artifacts for writers who join our organization going forward, and it can complicate working with callouts to have empty text boxes in the same graphic frame.

The reason we have the markers and frames was that Webworks ePublisher didn't recognize borders on graphics without them. Webworks suggested using markers to get the borders, and we've been using them for probably five years. Now we're able to get the same effect by modifying our ePublisher stationery, so we don't need the markers or their frames anymore.

Views

188

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Advisor ,
Jan 31, 2016

Copy link to clipboard

Copied

Sounds like a candidate for .mif and a text editor, but I'll watch and wait for someone more knowledgeable to explain the various bits of code in various places this would imply.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more