🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #23700

Re: Rename Condition Globally

#23700
From: David Kinyon
Date: Mon, 18 Nov 2002 22:59
15 lines
2002 bytes
You can create a new conditional format with the new name, then use the Find/Change dialog to search for the old conditional; then with the Conditional Text dialog open, you can change the applied conditional format. When complete, delete the old conditional format. 

That'd work if you have only a few instances of the conditional; if your documents are like mine, you may have to do this hundreds of times, which will give you carpal tunnel syndrome from the mouse clicks, and will also likely drive you insane. 

A far less labor-intensive method would be to save the file as MIF, open it in a text editor and do a search and replace for the conditional name. It looks to me like conditional names are used in two MIF markups: 

<CTag `conditional_name'> 

Which defines the conditional name, and: 

<InCondition `conditional_name'> 

Which applies the conditional format to text within the body of the document. 

If you search for these two items in the MIF, replacing <CTag `conditional_name'> with <CTag `new_name'> and <InCondition `conditional_name'> with <InCondition `new_name'>, that ought to do the trick. Once done, save the MIF and open in Frame, see if it worked. If it worked, save the file as .fm and you're back in business.
Technical Details
Message-ID: <1de6a60f.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6a60f.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd315,9101158343561017
X-Google-Attributes: gidfd315,public
X-Google-ArrivalTime: 2002-11-18 17:22:21 PST
From: "David Kinyon" <dkinyon@legato.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.framemaker
Subject: Re: Rename Condition Globally
Message-ID: <1de6a60f.0@WebX.la2eafNXanI>
Date: Mon, 18 Nov 2002 14:59:19 -0800
References: <1de6a60f.-1@WebX.la2eafNXanI>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit