32
Action Objects
Actions are objects that process documents in some way. Each Action has properties that control how
the Action works. The Actions properties can be of the same data types as variables: bool, int, real,
string, doc.
Examples of properties:
EmailSMTP.To
(defines who to send the e-mail to)
FTPget.Password
(specifies the password to use when logging into the FTP server)
ImageCrop.Left (
specifies the left edge of the rectangle to crop)
ConvertToDocument.input
(specifies which document to convert)
Properties are values that can be set. Some properties have default values provided by the Action.
Actions also have methods that operate on documents. Methods can have parameters. If the method
has parameters they follow the method name and are enclosed in parenthesis. If the method has no
parameters, the method name is followed by empty parentheses. All Actions have these common
methods:
Examples of methods
:
EmailSMTP.Go()
—Sends e-mail to the addresses specified by the Action's properties
FTPget.Reset()
—Clears the current settings of the Action's properties
To see a complete list of the properties and methods of each Action, see the “Script Reference”.
Methods
Description
.Reset()
Clears the current settings of all the Action properties
and returns them to their default values.
.Go()
Executes an action based on the action’s properties.