Article View: adobe.framemaker
Article #21939Re: MIF Variable Replacement
From: Arnis Gubins
Date: Sat, 18 Jan 2003 03:36
Date: Sat, 18 Jan 2003 03:36
31 lines
1732 bytes
1732 bytes
Jennifer, Set-up your script so that it just writes out the complete MIF with the new contents. A MIF file doesn't have to be complex. In your case, you only need the starting header line and the variable section with the new entries. For example, <MIFFile 7.00> # Generated by MyApplication <VariableFormats <VariableFormat <VariableName `MyVariable'> <VariableDef `Whatever I want'> > # end of VariableFormat <VariableFormat <VariableName `MyOtherVariable'> <VariableDef `Whateverelse I want'> > # end of VariableFormat etc. > # end of VariableFormats That's it. Quite simple isn't it? You can even string the entire VariableFormat definition on a single line - it's only split-up for readability in the MIF manual examples. Now all you have to do is import (by COPY) this file into your existing FM file and all of the identically named variables will be updated.
Technical Details
Message-ID:
<ghhh2vgt928o1357rhctc9bk4ovo4ij4tk@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de76b5d.-1@WebX.la2eafNXanI> <1de76b5d.9@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd315,1e4a97ead2a55469 X-Google-Attributes: gidfd315,public X-Google-ArrivalTime: 2003-01-17 19:39:31 PST From: Arnis Gubins <agg@nospam.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!sn-xit-08!supernews.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: MIF Variable Replacement Message-ID: <ghhh2vgt928o1357rhctc9bk4ovo4ij4tk@4ax.com> Date: Fri, 17 Jan 2003 19:36:29 -0800 References: <1de76b5d.-1@WebX.la2eafNXanI> <1de76b5d.9@WebX.la2eafNXanI> Lines: 32 X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit