maker.ini OpenDirOnStart: How can I prevent it from being updated?

Jeremy H. Griffith jeremy at omsys.com
Thu Feb 14 02:21:01 PST 2008


On Thu, 14 Feb 2008 07:54:19 +0000, "Berman, Marta" <marta.berman at hp.com> wrote:

>Is there any way to turn off this automatic update when exiting FrameMaker, so that I can set a default directory? Or is there another way to accomplish what I want from within FrameMaker?
>
>I can think of two workarounds:
>
>* Create a batch file that overrides the personalized maker.ini file with a saved copy of the default one and then opens FrameMaker. Use this batch file to start FrameMaker.
>
>* Make the personalized maker.ini file "read only." Then it cannot be updated when exiting FrameMaker.
>
>In both of these workarounds, other settings such as RecentFiles, spell check options, and zoom settings also cannot be updated.

Here's another one.  The Mif2Go demo version includes a utility,
setini.exe, that can be used to set individual .ini-file items.
In the User's Guide, it's described in par. 32.4.2.3, "Changing 
configuration settings with system commands":

  You can use a system command to make an arbitrary change to the 
  configuration file, by having the command invoke command-line 
  utility setini.exe, which is included in the Mif2Go distribution.

  Command setini changes the value of a single setting:
    setini inifile.ini section keyword value

  For example:
    setini mif2htm.ini HTMLOptions NoFonts Yes
  would exclude the use of <font> tags in HTML output.

This works with any .ini file, so you could use:
  setini "C:\path\to\maker.ini" Directories OpenDirOnStart "X:\path\you\want"
in your bat file before opening Frame.  Note that the quotes are
only needed if the paths contain any spaces.

The Mif2Go demo version is available at:
  http://www.omsys.com/dcl/download.htm

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



More information about the framers mailing list