RUN REPORTER: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 1: Line 1:
[[:Category:Miscellaneous|{{Up}}]]
[[:Category:Miscellaneous|{{Up}}]]


{{Command|syntax=RUN_REPORTER <reporter type> [<custom template>] [<render type>]
{{Command|syntax=RUN_REPORTER <output file> <reporter type> [<custom template>] [<render type>]
|description=:Run the reporter.
|description=:Run the reporter.


|param1=<reporter type>|param1_desc=0=part, 1=tool, 2=ops, 3=custom
|param1=<output file>|param1_desc=Output filename
|param2=<custom template>|param2_desc=Custom Template Filename (only used if reporter type=3)
|param2=<reporter type>|param2_desc=0=part, 1=tool, 2=ops, 3=custom
|param3=<render type>|param3_desc=0=op sim, 1=legacy cpr (default op sim)
|param3=<custom template>|param3_desc=Custom Template Filename (only used if reporter type=3)
|param4=<render type>|param4_desc=0=op sim, 1=legacy cpr (default op sim)
}}
}}


===Example===
===Example===
:RUN_REPORTER 1
:RUN_REPORTER "MyReport.xlsx", 1
:RUN_REPORTER 2, 1
:RUN_REPORTER "MyReport.xlsx", 2, 1
:RUN_REPORTER 3, "MyCustomTemplate.txt"
:RUN_REPORTER "MyReport.xlsx", 3, "MyCustomTemplate.txt"


[[Category:Miscellaneous]]
[[Category:Miscellaneous]]

Revision as of 22:02, 20 December 2018

Up

Command

RUN_REPORTER <output file> <reporter type> [<custom template>] [<render type>]


Run the reporter.

Parameters

<output file>
Output filename
<reporter type>
0=part, 1=tool, 2=ops, 3=custom
<custom template>
Custom Template Filename (only used if reporter type=3)
<render type>
0=op sim, 1=legacy cpr (default op sim)

Example

RUN_REPORTER "MyReport.xlsx", 1
RUN_REPORTER "MyReport.xlsx", 2, 1
RUN_REPORTER "MyReport.xlsx", 3, "MyCustomTemplate.txt"