38
Summary
A basic script first declares any variables that will be needed. Next Action objects are used to perform
operations on documents.
Variables are used to store data produced while the script is running.
Many Actions have an input property that specifies what document it should operate on. Similarly most
Actions have an output property. This indicates where the output from its operation is stored.
Notice the following inputs and outputs in our sample script.
1
ConvertToDocument Action uses the originally scanned document as its input.
2
The output from the ConvertToDocument will be stored in the variable called PSDocument that
was declared earlier. This variable is a document data type.
3
The FaxByPrinter Action uses the document PSDocument as its input. This allows it to fax the
output from the ConvertToDocument Action. The FaxByPrinter document needs a PostScript
document as its input.
1
2
3