Skip to main content
Participant
Jan 24, 2023 3:57 PM UTC
Question

Adobe ExtendScript to find Acronyms

Can anyone help me make a script to find Acronyms on framaker ? Please and thank you !

    This topic is closed to new replies. Start a new post to keep the conversation going.

    8 replies

    Participant
    Jan 26, 2023 7:08 PM UTC

    Any help would be appreciated ! 

    Translate
    Bob_Niland
    Community Expert
    Community Expert
    Jan 26, 2023 7:34 PM UTC

    I'm not a scripter (and haven't messed with regex in over a decade), but anyone who can help is apt to want to know what characterizes the content you need to find:
    ? short strings of all-caps set off by whitespace
    ? short strings inside some punctuation
    ? and now for something, completely different

    Translate
    Fightergator
    Inspiring
    Jan 27, 2023 10:09 PM UTC

    I might be able to help as well. I'm guessing you've decided the scope of the project is beyond using the Find / Replace panel. First, I'll echo Bob's questions. Also, need to be clear on whether you are looking for acronyms or abbreviations or both.  If acronyms, then we need an idea of how simple or complex they are; e.g., simple ABC, or more complex like A4BC, A-Bcd, A/B, or kHz.  If they've been defined, how were they defined?  Finally, are you going to have a table of the replacement text that you would replace each acronym with?  As an aside, finding simple acronyms is relatively easy...the tough part is what you want to do once they're found.

    Translate
    Bob_Niland
    Community Expert
    Community Expert
    Jan 25, 2023 12:59 AM UTC

    Any abbrevations, or just those that arguably can be pronounced?

    And what do you need to do with them when found?

    Or, based on your similar question in another thread, are you needing to find thing set-off by some punctuation (ABC)?

    Translate
    Participant
    Jan 25, 2023 4:25 PM UTC

    I think any abbrevations would be easy to start with and once they are found i want to replace them with the full word .

    Translate