IntelliTuneX / OptiInk Scripting - arkitex - Agfa
IntelliTuneX / OptiInk Scripting - arkitex - Agfa
IntelliTuneX / OptiInk Scripting - arkitex - Agfa
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ITX / <strong>OptiInk</strong> <strong>Scripting</strong><br />
________________________________________________________________________________________<br />
Note the script will NOT move the result it will still copy any Job.xml file. You still need to have the<br />
normal Copy Result to Folder.<br />
The advantage of using this message is that it will archive the XMLs to the storage area set up next to<br />
the Move Result function and the script does not need to be configure. It can be used multiple times in<br />
different places to archive to different folders configured in each postprocess step. The disadvantage is<br />
that there is only one MoveByScript function and so if used for XML archiving it cannot be used for<br />
anything else.<br />
9.4.3. Structure<br />
The XMLArchive.vbs Script consists of a main routine which gets its parameters, constructs the XML<br />
file it expects to find in the filestore and its archive name and copies this file if present. It has the<br />
following functions<br />
• GetArguments to get its own parameters<br />
• CleanServerName sanitises server names and paths from the parameters.<br />
• GetJobXMLName constructs the expected xml filename in the filestore<br />
• GetArchiveXMLName constructs the name to be used in the XML archive<br />
• InitLogging initialises the logging function which will log if XMLArchiveLog.txt is present in<br />
the script folder.<br />
• WriteLog writes a log line<br />
________________________________________________________________________________________<br />
<strong>Agfa</strong> 25-Jan-11 Issue 001 Released Page 24 R.J.Tidey