Re: [Framers] Search for text + tag?
I'm certain you could do this with a regular expression on exported MIF. Search for strings that begin with# end of Para, and contain the phrase in question, and in those strings replace with . ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
We know Adobe people monitor this list. Perhaps they've already made note? On Thu, Jun 22, 2017 at 12:11 PM, Peter Goldwrote: > This is one of those knotty complexities of language that have fascinated > technical writers since those early scribes who wrote "Lorem Ipsum." > > I think she wants to keep the text unchanged, but does want to change the > paragraph format of some paragraphs in which the text can be found with > Edit > Find/Change. > > It's not just this particular need that identifies a long-time shortcoming > of FM's Find/Change feature, namely that it can't refer to the clipboard > for more than one instruction. Probably, it was also designed in the era of > those ancient scribes. > > While MS Word's Find/Change may be smarter than FM's, it's interesting to > note that Adobe already owns a powerful and versatile Find/Change feature > in InDesign. > > Also, included with InDesign is a Find/Change by List script that increases > its power, through the use of repeated searches executed by one click. For > example, a user can create a list of target paragraph tags (AKA "formats" > in FM, "styles" in ID,) to find and change those in which the target text > resides. For lots of info on this ID script, search Google for "find change > by list" with and without quotes (some different results.) > > Perhaps someone on this list would like to write up and submit a product > enhancement request for upgrading FM's Find/Change abilities to equal those > of InDesign here: > https://forums.adobe.com/community/framemaker/framemaker_feature_requests? > view=overview > > On Thu, Jun 22, 2017 at 2:16 AM, Shmuel Wolfson > wrote: > > > She does want to change the text string in a paragraph tagged *with a > > specific format*, without having to keep an eye on the lower-left corner > > of the status bar. > > > > This is an important feature in Word that is missing in FM. > > > > -- > > > > On 22-Jun-17 1:18 AM, Peter Gold wrote: > > > > *"Now, if you only want to change only those instances of the text > string in > > a paragraph that tagged with a specific format, not all instances of the > > text string in all paragraphs, then you'll need to keep your eye on the > > lower-left corner of the status bar, or the Paragraph Designer, to > observe > > the name of the currently-selected paragraph format. Click Change by > > Pasting to apply the tag from the clipboard to the current paragraph, > then > > Find Next."* > > > > > ___ > > This message is from the Framers mailing list > > Send messages to framers@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 listad...@frameusers.com > -- Lin Sims ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
This is one of those knotty complexities of language that have fascinated technical writers since those early scribes who wrote "Lorem Ipsum." I think she wants to keep the text unchanged, but does want to change the paragraph format of some paragraphs in which the text can be found with Edit > Find/Change. It's not just this particular need that identifies a long-time shortcoming of FM's Find/Change feature, namely that it can't refer to the clipboard for more than one instruction. Probably, it was also designed in the era of those ancient scribes. While MS Word's Find/Change may be smarter than FM's, it's interesting to note that Adobe already owns a powerful and versatile Find/Change feature in InDesign. Also, included with InDesign is a Find/Change by List script that increases its power, through the use of repeated searches executed by one click. For example, a user can create a list of target paragraph tags (AKA "formats" in FM, "styles" in ID,) to find and change those in which the target text resides. For lots of info on this ID script, search Google for "find change by list" with and without quotes (some different results.) Perhaps someone on this list would like to write up and submit a product enhancement request for upgrading FM's Find/Change abilities to equal those of InDesign here: https://forums.adobe.com/community/framemaker/framemaker_feature_requests?view=overview On Thu, Jun 22, 2017 at 2:16 AM, Shmuel Wolfsonwrote: > She does want to change the text string in a paragraph tagged *with a > specific format*, without having to keep an eye on the lower-left corner > of the status bar. > > This is an important feature in Word that is missing in FM. > > -- > > On 22-Jun-17 1:18 AM, Peter Gold wrote: > > *"Now, if you only want to change only those instances of the text string in > a paragraph that tagged with a specific format, not all instances of the > text string in all paragraphs, then you'll need to keep your eye on the > lower-left corner of the status bar, or the Paragraph Designer, to observe > the name of the currently-selected paragraph format. Click Change by > Pasting to apply the tag from the clipboard to the current paragraph, then > Find Next."* > > ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
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@lists.frameusers.com> on behalf of Craig Ede <craig...@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@lists.frameusers.com> on behalf of Pat Christenson <pat.christen...@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@lists.frameusers.com] On Behalf Of Paquet, Becky [US] (MS) Sent: Tuesday, June 20, 2017 3:43 PM To: framers@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@lists.frameusers.com Visit the list's homepage at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mMvslAkFwzMyriL_TgnsebQ6oRqRQuegd28HOm94NkE= Archives located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=QhqLHXAek6X1IZGgiLEa89yp7HwzpEGq7bRsMGmfWlI= Subscribe and unsubscribe at https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mckpW5zX8LU1oPjE8gDUO9lsrik9
Re: [Framers] Search for text + tag?
Although FM does not have the feature of searching for a specific phrase that has a specific paragraph/character tag, one thing to make the search a little easier is to use the ALT key when searching. In recent versions of FM, after clicking Find, the focus stays on the Find/Change pod, so that you can keep pressing Enter to search for the next item, or use the ALT keys repeatedly to search or replace. What I'm suggesting is to type the search phrase, then hold down the ALT key with your left hand, and place two fingers (of your right hand) over the C and F keys. Press the F key to find the next instance of the phrase and press C to make the change when the phrase has the correct paragraph tag. I think this much easier than using the mouse; less strain, and you don't have to look at the Find/Change pod as you do this. This only works in recent versions that do not change the focus back to the cod after the search. Hope this helps. -- Shmuel Wolfson Technical Writer 058-763-7133 ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
She does want to change the text string in a paragraph tagged with a specific format, without having to keep an eye on the lower-left corner of the status bar. This is an important feature in Word that is missing in FM. -- On 22-Jun-17 1:18 AM, Peter Gold wrote: "Now, if you only want to change only those instances of the text string in a paragraph that tagged with a specific format, not all instances of the text string in all paragraphs, then you'll need to keep your eye on the lower-left corner of the status bar, or the Paragraph Designer, to observe the name of the currently-selected paragraph format. Click Change by Pasting to apply the tag from the clipboard to the current paragraph, then Find Next." On Wed, Jun 21, 2017 at 4:27 PM, Karen Robbins [1]wrote: Thanks all for the suggestions. Temporary manual fix in place (this is how we get repetitive motion injuries!). After deadline I will try these & report back. Karen ___ This message is from the Framers mailing list Send messages to [2]framers@lists.frameusers.com Visit the list's homepage at [3]http://www.frameusers.com Archives located at [4]http://www.mail-archive.com/fr amers%40lists.frameusers.com/ Subscribe and unsubscribe at [5]http://lists.frameusers.com/li stinfo.cgi/framers-frameusers.com Send administrative questions to [6]listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to [7]framers@lists.frameusers.com Visit the list's homepage at [8]http://www.frameusers.com Archives located at [9]http://www.mail-archive.com/framers%40lists.frameusers.co m/ Subscribe and unsubscribe at [10]http://lists.frameusers.com/listinfo.cgi/framer s-frameusers.com Send administrative questions to [11]listad...@frameusers.com References 1. mailto:karendes...@gmail.com 2. mailto:framers@lists.frameusers.com 3. http://www.frameusers.com/ 4. http://www.mail-archive.com/fr 5. http://lists.frameusers.com/li 6. mailto:listad...@frameusers.com 7. mailto:framers@lists.frameusers.com 8. http://www.frameusers.com/ 9. http://www.mail-archive.com/framers%40lists.frameusers.com/ 10. http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com 11. mailto:listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Karen, do you want to change paragraph tag A to paragraph tag B only when the paragraph contains the specified phrase? ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Sorry, but your assertion is not correct according to Karen's original query (emphasis added: 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. According to what she wrote, she specifically *does* want to change the tag. It's the tag and not the string she wants to change. This should be possible in FrameMaker because it is possible to use Copy Special to copy just the desired new paragraph tag and do a replace "By Pasting" to apply the tag to the paragraph with the found string. The difficult part is finding just the instances of the string that are in paragraphs with the old tag since Frame does not support searching for both a tag and a string in the same process. But it shouldn't be *that* bad to search for the string, visually check the paragraph tag in the status bar, and manually choose either "Change & Find" to perform the retagging or "Find" to skip to the next instance of the string. -FR From: Framers <framers-bounces+docudoc=hotmail@lists.frameusers.com> on behalf of Robert Lauriston <rob...@lauriston.com> Sent: Wednesday, June 21, 2017 5:41 PM To: An email list for people using Adobe FrameMaker software. Subject: Re: [Framers] Search for text + tag? Karen doesn't want to change the paragraph tag, she wants to restrict the change to instances of the string that are in paragraphs of a particular tag. ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
As I saw the range of suggestions, I wondered if I'd oversimplified the issue by working from memory, since I haven't actually fired FM up for a few years. So, I invoked FM 9 on WinXP SP2 under Parallels on my early 2008 MacBookPro, to see what's what. Although your original statement of intention seems clear, there's one possible ambiguity. Ooops, perhaps two ambiguities. One is that the text string is the only content of the paragraphs whose tags you want to change. The other is that the text string appears within other paragraph text. The basic idea for both cases is similar - find the text and paste the tag. If you don't want to replace all found instances with the new paragraph tag, then you'll have to inspect each found instance and chose Change > By Pasting, or Find Next to skip. If the example text string is exactly the same in all target locations, then there's no problem. In this case, you want to change the paragraph tag where the target text resides, to a different paragraph tag; you're not replacing text. The process is easiest if you want to find and change all paragraphs where the target text resides to the same new tag. For example, find "Abc text string" in all paragraphs no matter how they're tagged, and change only the tag to, say NewBodyTag, even if some of the target paragraphs are tagged Body, or Head1, or WhateverTag. Because of FM's limited Find/Replace feature, you need to do it this way: * Use the Paragaph Designer to create a paragraph with the target format tag name and properties. "NewBodyTag" in this case. Tag one paragraph with this tag (old-timers like me still call this a "Paragraph Format.") * Select the text string, copy and paste it into the Text area of the Find/Replace dialog box. Or, manually type it in. * Select an instance of the NewBodyTag paragraph format. Use Edit > Copy Special > Paragraph Format. This puts NewBodyTag on the clipboard. FM's limitation is that the Clipboard can only remember one item, regardless of what category it belongs to - text, graphic, text property, tag, etc. * Use Find/Replace to search for the text string, and choose Replace > By Pasting to paste the NewBodyTag paragraph format; this doesn't change the found text, it just changes the paragraph format. Now, if you only want to change only those instances of the text string in a paragraph that tagged with a specific format, not all instances of the text string in all paragraphs, then you'll need to keep your eye on the lower-left corner of the status bar, or the Paragraph Designer, to observe the name of the currently-selected paragraph format. Click Change by Pasting to apply the tag from the clipboard to the current paragraph, then Find Next. If this is a recurring need, going forward perhaps consider using a text variable for the repeating text, or a new character tag (AKA Character Format,) for the repeating text. IIRC, you can create a text variable that incorporates a named character format. I've not updated my FM, so I'm not sure if Find & Replace, and Edit > Copy Special have gotten smarter. If anyone can comment, I'd like to know. Thanks! HTH. On Wed, Jun 21, 2017 at 4:27 PM, Karen Robbinswrote: > Thanks all for the suggestions. Temporary manual fix in place (this is how > we get repetitive motion injuries!). After deadline I will try these & > report back. > > Karen > ___ > > This message is from the Framers mailing list > > Send messages to framers@lists.frameusers.com > Visit the list's homepage at http://www.frameusers.com > Archives located at http://www.mail-archive.com/fr > amers%40lists.frameusers.com/ > Subscribe and unsubscribe at http://lists.frameusers.com/li > stinfo.cgi/framers-frameusers.com > Send administrative questions to listad...@frameusers.com > > ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Karen doesn't want to change the paragraph tag, she wants to restrict the change to instances of the string that are in paragraphs of a particular tag. On Wed, Jun 21, 2017 at 9:13 AM, Craig Edewrote: > 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. > > Replace with a nonsense phrase used nowhere in the document, like "#$@@@$". > > Copy to the clipboard an instance of the paragraph tag you would like to use > for the phrase. > > Do a second replace, selecting text and using the nonsense phrase as the > search item and replace with the "By Pasting" option. > > Do a Change All. (Your nonsense text now has the paratag you want.) ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
That would replace all instances of the string, not only those in paragraphs with a particular tag. You could do it on a MIF using regular expressions: https://stackoverflow.com/questions/1237/regex-to-pull-out-a-sub-string-between-two-tags-in-a-string On Wed, Jun 21, 2017 at 7:00 AM, Grant Hogarthwrote: > Another way to do this would be to > 1. Save as MIF. > 2. Locate the first instance in a text editor (I prefer Notepad++) > 3. Copy that string. > 4. Search and Replace the string. > 5. Save the MIF. > 6. Reopen in FM. ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Thanks all for the suggestions. Temporary manual fix in place (this is how we get repetitive motion injuries!). After deadline I will try these & report back. Karen ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
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. Replace with a nonsense phrase used nowhere in the document, like "#$@@@$". Copy to the clipboard an instance of the paragraph tag you would like to use for the phrase. Do a second replace, selecting text and using the nonsense phrase as the search item and replace with the "By Pasting" option. 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") 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@lists.frameusers.com> on behalf of Pat Christenson <pat.christen...@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@lists.frameusers.com] On Behalf Of Paquet, Becky [US] (MS) Sent: Tuesday, June 20, 2017 3:43 PM To: framers@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@lists.frameusers.com Visit the list's homepage at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mMvslAkFwzMyriL_TgnsebQ6oRqRQuegd28HOm94NkE= Archives located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=QhqLHXAek6X1IZGgiLEa89yp7HwzpEGq7bRsMGmfWlI= Subscribe and unsubscribe at https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mckpW5zX8LU1oPjE8gDUO9lsrik9A7RMGrW5iWTl_pA= Send administrative questions to listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
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@lists.frameusers.com] On Behalf Of Paquet, Becky [US] (MS) Sent: Tuesday, June 20, 2017 3:43 PM To: framers@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@lists.frameusers.com Visit the list's homepage at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mMvslAkFwzMyriL_TgnsebQ6oRqRQuegd28HOm94NkE= Archives located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=QhqLHXAek6X1IZGgiLEa89yp7HwzpEGq7bRsMGmfWlI= Subscribe and unsubscribe at https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mckpW5zX8LU1oPjE8gDUO9lsrik9A7RMGrW5iWTl_pA= Send administrative questions to listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Hi Karen... The only way I can think of to do this would be via scripting of some kind .. ExtendScript, FrameScript, or FDK (or Perl, Python, etc. on a MIF file). If you don't find a reasonable solution, my FM2DITA plugin may have an undocumented feature that could let you do this. If it's a one-time thing, you could use a trial of this plugin to accomplish the task .. http://leximation.com/tools/info/fm2dita.php Let me know if you'd like to explore this option, and I'll look into it more to let you know how to do it. Cheers, ...scott On 6/20/17 10:34 AM, Karen Robbins wrote: 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@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 listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Another way to do this would be to 1. Save as MIF. 2. Locate the first instance in a text editor (I prefer Notepad++) 3. Copy that string. 4. Search and Replace the string. 5. Save the MIF. 6. Reopen in FM. -- Original Message -- From: "Karen Robbins"To: "framers@lists.frameusers.com" Sent: 6/20/2017 11:34:00 AM Subject: [Framers] Search for text + tag? 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@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 listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Unfortunately this is one feature that Word has, but FrameMaker does not have: The ability to search for specific text with a specific paragraph or character tag. Adobe People: Please add this feature eventually. -- Shmuel Wolfson Technical Writer 058-763-7133 On 20-Jun-17 8:34 PM, Karen Robbins wrote: 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 [1]framers@lists.frameusers.com Visit the list's homepage at [2]http://www.frameusers.com Archives located at [3]http://www.mail-archive.com/framers%40lists.frameusers.co m/ Subscribe and unsubscribe at [4]http://lists.frameusers.com/listinfo.cgi/framers -frameusers.com Send administrative questions to [5]listad...@frameusers.com References 1. mailto:framers@lists.frameusers.com 2. http://www.frameusers.com/ 3. http://www.mail-archive.com/framers%40lists.frameusers.com/ 4. http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com 5. mailto:listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
This is kind of a kluge and I haven't had time to test it but it might work. I suggest making a copy of your doc first. 1. Find an instance of the string (I'll use abcd for this sample) in a paragraph that you want to change. 2. Assuming the paragraph tag has unique font properties, copy abcd in that paragraph. ***This won't work if the font properties of this paragraph tag are the same as another paragraph tag used in the document.*** 3. Set Find to Text & Character Formats on Clipboard. 4. Set Change to Text: abcd (be sure to include the "dummy" characters so the changes are easily differentiated from just "abcd") 5. Change All. 6. Find (or create) a paragraph using the format you want to change to. 7. Copy Special - Paragraph Format. 8. Set Find to Text: abcd 9. Set Change to By Pasting. 10. Change All. 11. Set Find to Text: 12. Set Change to Text and make sure there's nothing in the Change field. 13. Change All. Let me know if this works, please! Pat -Original Message- From: Framers [mailto:framers-bounces+pat.christenson=morningstar@lists.frameusers.com] On Behalf Of Paquet, Becky [US] (MS) Sent: Tuesday, June 20, 2017 3:43 PM To: framers@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@lists.frameusers.com Visit the list's homepage at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mMvslAkFwzMyriL_TgnsebQ6oRqRQuegd28HOm94NkE= Archives located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=QhqLHXAek6X1IZGgiLEa89yp7HwzpEGq7bRsMGmfWlI= Subscribe and unsubscribe at https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mckpW5zX8LU1oPjE8gDUO9lsrik9A7RMGrW5iWTl_pA= Send administrative questions to listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
ignore *other* instances of the string. On Tue, Jun 20, 2017 at 2:09 PM, Robert Lauristonwrote: > Karen wants to change all instances of a string when it is in a > paragraph with a particular tag and ignore instances of the string. > > I don't think the Find/Change dialog lets you specify a paragraph tag > for the Find string. > > On Tue, Jun 20, 2017 at 1:42 PM, Paquet, Becky [US] (MS) > wrote: >> 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. ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
Karen wants to change all instances of a string when it is in a paragraph with a particular tag and ignore instances of the string. I don't think the Find/Change dialog lets you specify a paragraph tag for the Find string. On Tue, Jun 20, 2017 at 1:42 PM, Paquet, Becky [US] (MS)wrote: > 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. ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
Re: [Framers] Search for text + tag?
I wouldn't use Change All if Becky only wants to change it in certain instances. Pat Christenson -Original Message- From: Framers [mailto:framers-bounces+pat.christenson=morningstar@lists.frameusers.com] On Behalf Of Paquet, Becky [US] (MS) Sent: Tuesday, June 20, 2017 3:43 PM To: framers@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@lists.frameusers.com Visit the list's homepage at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.frameusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mMvslAkFwzMyriL_TgnsebQ6oRqRQuegd28HOm94NkE= Archives located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_framers-2540lists.frameusers.com_=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=QhqLHXAek6X1IZGgiLEa89yp7HwzpEGq7bRsMGmfWlI= Subscribe and unsubscribe at https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.frameusers.com_listinfo.cgi_framers-2Dframeusers.com=DwICAg=qrd1rYdJNb4QhfvJv5PebOPglYwfSMJ71NR_1HMKptQ=XCAkAkKD_C5LA8IHfBffTgJF3-vQqo8LO_6iaUj61_E=1KloO2gu02LTkx1oczI2Z3t4xEL6XMNwyBGmCWwQJPM=mckpW5zX8LU1oPjE8gDUO9lsrik9A7RMGrW5iWTl_pA= Send administrative questions to listad...@frameusers.com ___ This message is from the Framers mailing list Send messages to framers@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 listad...@frameusers.com
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@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 listad...@frameusers.com