FrameMaker CSS Remover

Download file: 

When you link a FrameMaker file in RoboHelp, a new css file is created for every FrameMaker file. The following script allows you to quickly apply your own style sheet and remove the FrameMaker generated style sheets.

The script updates all linked files and checks all topics to see if the topics are generated from FrameMaker. Imported files are ignored.

Note:

  • Removing the style sheets will create missing file references in RoboHelp. To avoid this, amend the script so that the generated css files are truncated to zero length: change deletefile.remove(); to: deletefile.open("w"); deletefile.close();.
  • This script is provided as-is, without warranty of any kind.

Setting up the script

To set up the script, open the script and look on the first line. Add the name of the style sheet you want to use for the FrameMaker files as the value of the variable newCSS. If you do not want the FrameMaker generated style sheets to be deleted, set removeFMCSS to false.

Tags: