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!
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
Copy link to clipboard
Copied
Unfortunately, I do not have a screenshot, nor do I know where to begin.
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?
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.
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.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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:
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.