This repository contain CMI Scripts for Enfocus Switch.
In SwitchScripter select main.ts not main.js. Otherwise the ts file will be deleted when saving by SwitchScripter See Script folder structure
The purpose of this script is to transform the response from a preflight into a PDF file that overlays alerts and messages.
The purpose of this script is to export all variables and datasets attached to a job in an XML file.
$ cd dev/[projectScript]
$ npm run transpile
open [projectScript] in SwitchScripter and save it
$ cd dev/[projectScript]
$ npm run pack
the production script is generated in production/