IniSwitcher is a “plugin” developed for FrameMaker 8. IniSwitcher lets you switch between values in an INI file by selecting a command in FrameMaker.
This command is particularly suited for making modifications to the maker.ini file but can be used for any INI files. If you modify the maker.ini file you must restart FrameMaker before the change will take effect.
Because IniSwitcher was developed to allow easy switching between DITA-FMx and the built-in FM8 DITA plugin, the default settings are to switch to “DITA-FMx” and “FM8-DITA,” you can delete these options or add more as needed.
IniSwitcher is controlled by the Pubs-Tools\IniSwitcher.ini file. The commands that appear on the IniSwitcher menu are defined by entries in this INI file. After installation, open this file in a text editor to modify the functionality.
The General section of the IniSwitcher.ini file contains a Count parameter followed by that number of entries (you are allowed up to 20 entries). The default setting is shown below:
[General] Count=2 1=DITA-FMx 2=FM8-DITA
For each numbered parameter you must add a section of the name indicated as the value for that line. The DITA-FMx section looks like this:
[DITA-FMx] _iniFile=maker.ini _iniSection=APIClients ditafm=! ditafm_app=! ditabook=! ditaOpenToolkit=! ditafmx=Standard, ditafmx, DITA-FMx\\ditafmx_80.dll, structured ditafmx_app=Standard, ditafmx_app, DITA-FMx\\ditafmx_80_app.dll, structured ditafmx_book=Standard, ditafmx_book, DITA-FMx\\ditafmx_80_book.dll, structured
Each named section nust have the two parameters “_iniFile” and “_iniSection”, these specify the INI file and section to act upon. The remaining lines in the section specify entries to add or remove. If a parameter value is set to “!”, that entry will be deleted, otherwise that entry will be updated (or added) with the value specified. The DITA-FMx section deletes the entries that are specific to the FM8 DITA plugin and adds those needed for DITA-FMx. The FM8-DITA section (not shown) essentially does the opposite, it deletes the DITA-FMx entries and adds the FM8 entries.
Contact <tools AT leximation DOT com> with comments and questions
Each tool you install adds a submenu to the Pubs-Tools menu which is available on the FrameMaker menu bar. In addition to the tool’s commands, the submenu provides access to the tool’s online Help and "About" information.
Use the Check for Updates command to check for updates to all FrameMaker Pubs-Tools that you have installed
Visit www.leximation.com/tools/ for information on the latest tools from Leximation.
The Leximation, Inc. End-User License Agreement is available from our website at www.leximation.com/eula/.