The rule Global is automatically activated:
Right at the beginning of each process, even before any bytes had been read form the data stream.
If an activated rule contains the IniFile key, the actual configuration file is removed from memory (all made settings are kept and will be still processed). After the new ini file is loaded the probable existing rule Global is automatically executed, right at load time. Dito all the other default "rule names": Printer-,, User-, Port-, Driver-name. Rules theory, how to trigger them.
In rare cases there is a need to evaluate right at startup time an already existing variable to perform any action. In the following theoretical example the file is not touched, when it comes form an windows driver. So reading the first 15 byte from the stream does already nail that down, however if the job comes form MS Windows, then call an external user interface to do something...
; Primary trigger always true
; Evaluate first this rule
TriggerSection=Check at front if it is an MS Word document
[Check at front if it is an MS Word document]
; Primary trigger is always true
; Secondary Trigger is only true if the job comes from MS Word
Trigger_Variable=LEFT(#PRINTDOCNAME#,16):Microsoft Word -
; use the ELP command to print on all pages the Form 1000
[If it is an windows data stream]
; Do nothing
Note: Some keys can only be used in the rule GLOBAL, e.g. like RunThroughPreParser