Support

Register your Product

Product Documentation

Knowledge Base

Contact Support

Community

User Group

Resources

Application Library

Flow Library

Script Library

Sort files on FlighCheck Online metadata (TFS)

Jobs received through FlightCheck online contain metadata. This example script shows you how to use this metadata to filter files through connections with different settings.

Information

Supported by: PowerSWITCH (MAC and WIN)
Language: JavaScript

Description:

This script will read information from the TFS dataset in the job ticket. This means that the script can only be used for files delivered through FlightCheck Online. An XML Pickup tool should be used to add the TFS file (created by FlightCheck Online) to a TFS dataset.

This script defines a number of extra parameters for the outgoing connections. Each parameter has a number of valid values defined.

  • Color space: CMYK, Black & white or other
  • Page format: A4, A3, A2 or other
  • Notify of preflight result: did the customer ask to be notified or not
  • Allow PDF correction: does the customer want the file to be corrected if problems were found?
  • Notify when printed: should you notify the customer when the job is send to the press/printer?

When a job arrives, this script will read the information from the TFS dataset and will compare it to the properties of each outgoing connection.

If the parameters of an outgoing connection match with the information found in the TFS dataset, the job will be moved over that connection.
If no dataset is found, the job will move over the "fail" connection.

Using this script

  • Download and save the script on your computer: download script.
  • Select the Script element in your PowerSWITCH flow and browse to the script in the Script package property.
    or
  • Open the script in the SWITCHscripter and change it to your needs.

Example flow

  • Sort FlightCheck Online files

    FlightCheck Online flow hands over files to PowerSWITCH which will read the job ticket information delivered with the job and sort files based on this information.

  • Sort and check FlightCheck Online files

    FlightCheck Online flow hands over files to PowerSWITCH which will read the job ticket information delivered with the job. All jobs are preflighted and sorted based on this information.

© Copyright 2007 by Gradual Software.