
1
Last updated 9/26/2011
Chapter 1: Overview
A script is a series of commands that instructs Adobe® FrameMaker® to perform a set of specified actions. Scripts
automate repetitive tasks, such as counting the images in a book or adding an indent to all the para tags in a file. Use
scripts as a creative tool to streamline time-consuming tasks.
If you are new to scripting, you can acquaint yourself with the basic scripting concepts provided in the
Introduction
to Scripting
manual.
About this document
Naming conventions
To help you identify the structures, constants, and functions defined by the ESTK, this document adheres to the
following naming conventions:
Typographic conventions
Notice the use of different fonts to represent different types of information:
•
What you type is shown in
text like this
.
•
Function names, property names, structure names, returned values, constants, filter names, program names, paths,
and filenames are also shown in
text like this
.
Type
Naming Convention
Example
API error codes
Prefix:
Constants.FE
Suffix: Error number in parentheses
Constants.FE_BadName(-33)
API functions
Suffix: ()
UpdateTextInset()
API scriptable function property
names
Prefix:
Constants.FS_
Suffix: Enumerated value in parentheses
Constants.FS_ForceImportAsText (17)
Flags used by API functions
Prefix:
Constants.FF_
Suffix: Enumerated value in parentheses
Constants.FF_UFF_VAR()
Initialization constants
Prefix:
Constants.FA_Init
Suffix: Enumerated value in parentheses
Constants.FA_Init_First (1)
Notification constants
Prefix:
Constants.FA_Note
Constants.FA_Note_PreFileType (9)
Object types
Prefix:
Constants.FO_
Suffix: Enumerated value in parentheses
Constants.FO_Doc (4)
Property value constants
Prefix:
Constants.FV_
Suffix: Enumerated value in parentheses
Constants.FV_Doc_Type_MIF (0x03)
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...