• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
1

Script Help

Community Beginner ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

Hello,

I need an Adobe FrameMaker script that analyzes the text frame contents, and locates any sentences starting with "A." and changes those to a specific paragraph catalog then removes the "A." from the sentence

 

Thank you!

TOPICS
Content migration , FAQ , Scripting

Views

192

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

Can you post a before/after sample screenshot? Or better yet, can you meet so you can show me the details of what you want to do? rick at frameexpert dot com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

Unfortunately, I do not have a screenshot, nor do I know where to begin. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

One way to look at it is to outline the steps of how you would do it manually in FrameMaker. Are you able to meet so I can see the manual process?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

You could also copy the paragraph format to the clipboard (copy special)and then search for "\PA.".

\P searches for the start of a paragraph and then your "A.".

Then select Pasting to paste the paragraph format in the clipboard.

After all paragraph formats are fixed, search again and then replace with empty text to remove the "A.".

 

I do not know, if this search is specific enough for your requirements.

Definitely easier than a script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

That is a valid point. However, I want the script to run through my document and change it in several instances, along with other variations.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

For-Example

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

LATEST

Excellent video; now I see what you want to do. This would definitely be a fun script that could be controlled by a simple spreadsheet:

 

image.png

The Regular Expression would be the pattern that you want to match. You can test each Regular Expression by using the Find/Change dialog box and choosing the Regular Expression radio button.

 

The Paragraph Format column would be the Format that you want the script to apply when it matches a Regular Expression.

 

A script like this is more complicated than something I could post here for free. Please contact me offlist if you want a quote for a script. Thanks.

Votes

Translate

Translate

Report

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