This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
parsermonster_flags [2014/08/22 21:21] Mitch [Report Flags] |
parsermonster_flags [2015/08/15 18:06] (current) Mitch [System Flags] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ParserMonster Flags ====== | ====== ParserMonster Flags ====== | ||
| - | ParserMonster flags are simply | + | ParserMonster flags are variables that can be either |
| + | See [sys][] or is it, see [sys] [foo]? | ||
| - | Both types of flags are read, set and tested by the same directives. The directives will create a local flag the first time it is used. For this reason, don't expect to use a predefined flag for your own purposes. | + | Predefined |
| To set a flag to True, use the < | To set a flag to True, use the < | ||
| Line 9: | Line 10: | ||
| To set a flag to False, use the < | To set a flag to False, use the < | ||
| - | To test whether a flag is True or False, use the < | + | Tip: if you plan to test multiple flags, you can save time by commenting out < |
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | To disable **ReportHeaderNoPath**, | ||
| + | |||
| + | < | ||
| + | < | ||
| + | '< | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | <del>To test whether a flag is True or False, use the < | ||
| ===== Main Window Flags ===== | ===== Main Window Flags ===== | ||
| Line 25: | Line 43: | ||
| ===== Report Flags ===== | ===== Report Flags ===== | ||
| - | For each file that is processed, tasks may generate one or more reports. | + | For each file that is processed, tasks may generate one or more reports. ParserMonster uses report flags to control output to disk files, as well as output to a [[reportpreviewwindow|report preview window]]. |
| - | By default, | + | By default, |
| + | |||
| + | ==== Output (to Disk) ==== | ||
| + | ==== Preview ==== | ||
| + | ==== Header ==== | ||
| + | ||HeaderNoPath|| | ||
| + | ==== Footer ==== | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | [[reportoff|ReportOff]] suppresses writing reports to disk. | ||
| + | |||
| + | [[reportmerge|ReportMerge]] combines all reports into one file. | ||
| + | |||
| + | [[reportpreview|ReportPreview]] displays reports on the dashboard | ||
| [[reportheader|ReportHeader]] outputs one or more [[variables_in_reportheader|report header variables]] | [[reportheader|ReportHeader]] outputs one or more [[variables_in_reportheader|report header variables]] | ||
| Line 33: | Line 66: | ||
| [[reportfooter|ReportFooter]] outputs one or more [[variables_in_reportfooter|report footer variables]] | [[reportfooter|ReportFooter]] outputs one or more [[variables_in_reportfooter|report footer variables]] | ||
| - | [[reportsmerge|ReportsMerge]] combines into one report all output from each file processed. | ||
| - | [[reportoverwrite|ReportOverwrite]] overwrites existing reports. | + | |
| ===== System Flags ===== | ===== System Flags ===== | ||
| + | These flags operate independently of their inclusion in a [[constantfiles|cx-file]]. Applications that don't ship with predefined constants will still recognize system flags. | ||
| + | ^ Name ^ Purpose ^ | ||
| + | | AdHoc | Allows custom code to run before, during and after the major [[parsermonsterloops|loops]] | | ||
| + | | AutoRun | Set to true if [[autorun|autorun.task]] is detected during startup | | ||
| + | | AutoRun2 | Set to true if [[autorun|autorun2.task]] is detected during startup | | ||
| ===== Undocumented Flags ===== | ===== Undocumented Flags ===== | ||
| These flags have been implemented and will be documented, eventually. | These flags have been implemented and will be documented, eventually. | ||
| + | AdHoc | ||
| + | AutoRun | ||
| + | AutoRun2 | ||
| + | OverwriteSessionLog | ||
| + | Pipe | ||
| + | ProcessFileNames | ||
| + | ReportCompact | ||
| + | ReportFooter | ||
| + | ReportHeader | ||
| + | ReportHeaderNoPath | ||
| + | ReportHeaderShortName | ||
| + | ReportMerge | ||
| + | ReportOff | ||
| + | ReportPreview | ||
| + | ReportPreviewCompact | ||
| SafeBrowseReadFrom | SafeBrowseReadFrom | ||
| SafeBrowseWriteTo | SafeBrowseWriteTo | ||
| + | ScriptIcons | ||
| + | StatusDisplayTaskInfo | ||
| Trace | Trace | ||
| + | TraceStartup | ||
| - | ScriptIcons | ||
| - | AutoRun | ||
| - | AutoRun2 | ||
| - | ProcessFileNames | ||
| - | |||
| - | Pipe | ||