REPORTER 22.1
Rules for Writing Scripts
Rules for Writing Scripts
As REPORTER runs the scripts internally, they have to be written in a specific way. The following guidelines should be used for writing custom scripts for REPORTER. If these guidelines are too restrictive or you do not want to work this way, remember that you can write external programs for REPORTER in any language you choose. See Appendix D for more details.
- Scripts must be written in JavaScript! REPORTER contains a JavaScript interpreter. Other languages are NOT supported.
- To output text back to REPORTER, use the output function.
- See the scripting chapter for JavaScript scripting.
- See the JavaScript reference manual for extra JavaScript classes that REPORTER defines.
The scripts in the /library/scripts directory give an indication of what is possible with internal scripts. For more details refer to the individual scripts.
The functionality will be extended over time. If you have requests for new features, contact Oasys Ltd Support.