[Framers] Search for text + tag?

Craig Ede craigede at hotmail.com
Thu Jun 22 08:55:04 PDT 2017


My method assumes that you want to change the paratag that is being used on a particular phrase. The simplest instance of that is when that phrase is the only content in the paragraph. However, this works on paras that have other text as well, but only if they use the paratag you want to change. The note at the bottom of my earlier post flags the problem that might arise if your document uses either another char tag or overrides of formatting that makes the phrase appear with the same font characteristics as the paratag you are trying to change.


It's a three step process (not two), but it does work and allows you to use Change All rather than stepping through each instance one by one.


Try it on a simple file or fragment of your doc and you'll see it works.


Craig

________________________________
From: Framers <framers-bounces+craigede=hotmail.com at lists.frameusers.com> on behalf of Craig Ede <craigede at hotmail.com>
Sent: Wednesday, June 21, 2017 11:13 AM
To: An email list for people using Adobe FrameMaker software.
Subject: Re: [Framers] Search for text + tag?

Try this:

Copy the phrase (without the paragraph marker at the end).

Do a replace selecting "Text and Character Formats on the Clipboard" in the search item. [This ensures that the search is for the phrase with the font characteristics of the paratag.]

Replace with a nonsense phrase used nowhere in the document, like "#$@@@$". [The nonsense phrase is now a placeholder for your phrase, but in paragraphs where you want to change the paratag.]

Copy to the clipboard an instance of the paragraph tag you would like to use for the phrase. [This will be used in the next 'replace' action.]

Do a second replace, selecting text and using the nonsense phrase as the search item and replace with the "By Pasting" option. [These options will format (by paste) all paragraphs where you nonsense phrase now exists with the new paratag.]

Do a Change All. [Your nonsense text now has the paratag you want.]

Do a third replace where you replace the nonsense phrase with the text you started with (both search and replace items should be set to "Text"). [Since this is a text replace, the original phrase goes back in, replacing the nonsense phrase.

Note: This could fowl you up if the phrase is formatted with font characteristics somewhere with a character format that mimics the format of the original para format, but that is unlikely.

Good luck.


Craig

________________________________
From: Framers <framers-bounces+craigede=hotmail.com at lists.frameusers.com> on behalf of Pat Christenson <Pat.Christenson at morningstar.com>
Sent: Wednesday, June 21, 2017 10:56 AM
To: An email list for people using Adobe FrameMaker software.
Subject: Re: [Framers] Search for text + tag?

That will paste the phrase, not the paragraph tag.

-----Original Message-----
From: Framers [mailto:framers-bounces+pat.christenson=morningstar.com at lists.frameusers.com] On Behalf Of Paquet, Becky [US] (MS)
Sent: Tuesday, June 20, 2017 3:43 PM
To: framers at lists.frameusers.com
Subject: Re: [Framers] Search for text + tag?

This should be simple using plain old search/replace. Modify the first instance of the phrase to use the new paragraph tag, and then copy that phrase. Search for the phrase and change by pasting. Use the pull-down to see the "By pasting" option for changing. And, use Change All to make this painless.

-Becky


Hello Framers,

I want to change all instances of a phrase using one paragraph tag to another tag. I do not want to change all instances of the phrase (it occurs using other tags), nor replace the current tag with the new tag (both tags remain in use). The target phrase-tag combo occurs hundreds of times. Is this possible through find/change or another automated method? Using FM 11.

Thanks very much,

Karen
_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com Visit the list's homepage at  https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com&d=DwICAg&c=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ&r=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E&m=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM&s=mMvslAkFwzMyriL_TgnsebQ6oRqRQuegd28HOm94NkE&e=
Archives located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_&d=DwICAg&c=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ&r=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E&m=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM&s=QhqLHXAek6X1IZGgiLEa89yp7HwzpEGq7bRsMGmfWlI&e=
Subscribe and unsubscribe at https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com&d=DwICAg&c=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ&r=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E&m=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM&s=mckpW5zX8LU1oPjE8gDUO9lsrik9A7RMGrW5iWTl_pA&e=
Send administrative questions to listadmin at frameusers.com
_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com
_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com


More information about the Framers mailing list