Name and description of the current AutoFM elements.
The following table shows the relationship of the top-level AutoFM elements and their child elements; it is not intended to be representative of a useful AutoFM script:
action | book | file | exit |
---|---|---|---|
autofm action extendscript script args fdk client args framescript script args select name |
autofm book close export name import name template importformats name open name appname pdfsetup pdfdocinfo infoitem print tofile save saveas name appname select name update |
autofm file close export name import name template importformats name open name appname pdfsetup pdfdocinfo infoitem print tofile save saveas name appname select name |
autofm exit |
Specifies the action to perform on books and files in FrameMaker. Allow you to select a file or book, then run a script or client command on that file. No attributes.
Contains: extendscript, fdk, framescript, select
Contained by: autofm
Specifies the structure application name to use when opening or saving an XML or SGML file. No attributes.
Contains: TEXT
Contained by: open, saveas
Specifies the value of the argument passed to the FDK client or appended to the value of the ExtendScript or FrameScript script name. No attributes.
Contains: TEXT
Contained by: framescript, extendscript, fdk
The root element of an AutoFM file. No attributes.
Contains: action, book, file, exit
Contained by: none
Performs actions on books in FrameMaker. No attributes.
Contains: close, open, print, save, saveas, select, update
Contained by: autofm
Specifies the name of the FDK client. No attributes.
Contains: TEXT
Contained by: fdk
Closes a file in FrameMaker. No attributes.
Contains: EMPTY
Contained by: book, file
Exits FrameMaker. Closes without saving all open documents before exiting. No attributes.
Contains: EMPTY
Contained by: autofm
Exports the current file from FrameMaker in the format defined by the filter attribute. The filter attribute specifies an “export filter hint string” (an 11 or 12 character string). The available export filter hint strings will vary based on the FM version and specific installation. To see the available hint strings, use the
command.Contains: name
Contained by: book, file
Runs the ExtendScript specified by the script element. The value of the optional args element is appended to the script name. This is only available in FM10 and later. No attributes.
Contains: script, args
Contained by: action
Runs the specified FDK client with the value of the args element. No attributes.
Contains: client, args
Contained by: action
Performs actions on files in FrameMaker. No attributes.
Contains: close, open, print, save, saveas, select
Contained by: autofm
Runs the FrameScript specified by the script element. The value of the optional args element is appended to the script name. This is only available if the FrameScript plugin is installed. No attributes.
Contains: script, args
Contained by: action
Imports a file into FrameMaker of the format defined by the filter attribute. The filter attribute specifies an “import filter hint string” (an 11 or 12 character string). The available import filter hint strings will vary based on the FM version and specific installation. To see the available hint strings, use the
command. To apply an FM template to the file after importing, use the template child element.Contains: name, template
Contained by: book, file
Imports the specified formats from the specified file (name node) into the current file (defined by the parent file or book node). Attributes are available for each option in the Import Formats dialog. All attributes default to “0” (disabled); enable (set to “1”) those that you want to import (or use the “alloptions” attribute). Seventeen attributes (depending on FM version):
Contains: name
Contained by: book, file
Defines a PDF Doc Info entry (field/value pair). Add one infoitem element for each entry.One attribute (required).
Contains: TEXT
Contained by: pdfdocinfo
Specifies the name of the file to export, import, open, save, or select. No attributes.
Contains: TEXT
Contained by: export, import, select, open, saveas
Opens a file in FrameMaker. One attribute:
Contains: name, appname
Contained by: book, file
Defines the PDF Doc Info entries. No attributes.
Contains: infoitem
Contained by: pdfsetup
Assigns a PDF Job options name. Three attributes:
Contains: pdfdocinfo
Contained by: book, file
Prints a file in FrameMaker. Use the tofile element to specify the name of the print file. Attributes match the options in the FrameMaker Print dialog:
Contains: tofile
Contained by: book, file
Saves the current file or book. No attributes.
Contains: EMPTY
Contained by: book, file
Performs a Save As operation on the current file or book. One attribute:
Contains: name, appname
Contained by: book, file
Specifies the name of an ExtendScript or FrameScript. No attributes.
Contains: TEXT
Contained by: framescript, extendscript
Selects a file in FrameMaker for processing. No attributes.
Contains: name
Contained by: action, book, file
Specifies the name of the file to use as the template for the file imported with the import command. No attributes.
Contains: TEXT
Contained by: import
Specifies the print file name to create. No attributes.
Contains: TEXT
Contained by: print
Updates the current book. No attributes.
Contains: EMPTY
Contained by: book