Change reference page graphic line across files?

Jeremy H. Griffith jeremy at omsys.com
Tue Jul 27 14:33:04 PDT 2010


On Tue, 27 Jul 2010 19:34:14 +0000 (UTC), jdeland1 at comcast.net 
wrote:

>I was wondering if there is an easy way to change the line 
>that you get with the standard "Single Line" on reference 
>pages. I want to update about 300 files with a new line 
>thickness for my Frame Above paragraph tag. I am not able 
>to just import reference pages, otherwise I would do just 
>that. I looked in a mif file, but couldn't find a setting. 
>Any ideas? 

In the reference page MIF you'll see something like this:

  <Tag `Single Line>
  <PolyLine 
   <Unique 1119222>
   <Pen 0>
   <PenWidth  0.5 pt>
   <Separation 5>
   <ObColor `company color 1'>
   <HeadCap Square>
   <TailCap Square>
   <NumPoints 2>
   <Point  40.1003 mm 2.14791 mm>
   <Point  165.10028 mm 2.14791 mm>
  > # end of PolyLine

Look for yours in a file that is as you want it, and also 
in one that is not.  Compare and see what is different;
that's what you need to replace.  The length, for example,
is determined by the last two Point settings, each the
x,y co-ords of the line endpoints.  Thickness is PenWidth.

You can do the mass replace in the MIF with many tools;
we'd use FAR <http://helpware.net/FAR/>.  You can save all
files in books as MIF with one command using the free demo 
version of Mif2Go.  If you name the MIF files with an .fm 
extension, you don't have to bother saving them back; Frame 
will do that automatically whenever you use one.

HTH!

-- Jeremy H. Griffith, at Omni Systems Inc.
  <jeremy at omsys.com>  http://www.omsys.com/



More information about the framers mailing list