Skip to main content
Participating Frequently
January 29, 2016
Question

Automate deleting empty text frames?

  • January 29, 2016
  • 1 reply
  • 310 views

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.

    This topic has been closed for replies.

    1 reply

    Legend
    February 1, 2016

    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.