Skip to main content
Participant
June 20, 2024
Question

Copying over text that has a marker

  • June 20, 2024
  • 5 replies
  • 337 views

This might be a silly question, but our process requires us to copy text from one Frame file and paste it into another, replacing existing text that may contain an index marker. Is there a way or best practice we aren't aware of to copy/paste over the existing text but still retain the marker?  

    This topic has been closed for replies.

    5 replies

    frameexpert
    Community Expert
    Community Expert
    June 21, 2024

    A paste that only replaces text could be scripted. If this is an ongoing requirement, please contact me and we can see what is possible.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    June 21, 2024

    Haven't actually tested it on a FM to FM doc, but I definitely use the hack in my maker.ini to set the paste order to TEXT in this line:
    ClipboardFormatsPriorities=TEXT, FILE, MIFW, MIF, RTF, OLE 2, META, EMF,  DIB, BMP, UNICODE TEXT

    Community Expert
    June 21, 2024

    1: copy text from FrameMaker

    2: Paste into Notepad/Note++

    3: Copy from Notepad/Note++

    4: Paste into that other FrameMaker document.

    In my experience the safest and easiest way to copy text from one document to another, without bringing along formatting stuff like paragraph and character styles, colors, markers etc.

    Bjørn Smalbro - FrameMaker.dk
    Community Expert
    June 21, 2024

    I also want to paste text without any formatting (or markers, etc.). I use Puretext. Very reliable. Very easy to use.

    http://stevemiller.net/puretext/

    Bob_Niland
    Community Expert
    Community Expert
    June 21, 2024

    Steph: …our process requires us to copy text from one Frame file and paste it into another, replacing existing text that may contain an index marker.

    The trashed text may {have} contain{ed} a lot more than that. Index markers are only one type of marker that would be lost, not to mention Anchors, Character Formats and other meta.

    And then there's the question of what might get dragged in unintentionally. Is this via simple paste, or via some flavor of Paste Special?
    And if there's any risk of bringing in formatting from the source document, how well defined and implemented are enterprise standards for formats?

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    June 20, 2024

    Before copy/paste, use the Find/Change to locate index markers and move them outside the area to be copy/pasted, or move them into your other doc prior to copy/paste.

    You may want to use a 3rd document to blend your text to-be-pasted and the markers from your existing doc. That way you're able to confirm the integrity of the content without mucking either the source or destination doc.

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant