Global constants
You should declare global constants to define settings that apply to a specific KCM Core setup. Some examples: directory paths, printer names, names of remote servers, or user names and passwords for remote servers.
-
Start KCM Core Administrator.
-
In the tree view, click the Services node.
-
In the right pane, select the Constants tab and define global constants and their values.
Every script run on this server can access these settings.
-
Click Save & Apply.
The following tables describes five global constants that provide defaults for internal commands.
Constant | Function / Value | Used by Command |
---|---|---|
WFWPrinter | Default printer driver when printing Microsoft Word files | PrintDocument |
PDFPrinter | Default printer driver when printing PDF files | PrintDocument |
WFWFormat | Default save format when converting Microsoft Word files | ConvertDocument |
Global constants are always assumed to be of type Text.