Application
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
activeBook | Book | r/w | The active book. |
activeScript | File | readonly | The current script running from the Scripts panel. |
activeScriptUndoMode | UndoModes: UndoModes.SCRIPT_REQUEST UndoModes.ENTIRE_SCRIPT UndoModes.AUTO_UNDO UndoModes.FAST_ENTIRE_SCRIPT |
readonly | The undo mode for the current script execution. |
alignDistributePreferences | AlignDistributePreference | readonly | Preferences for alignment and distribution. |
allCellStyles | Array of CellStyle | readonly | All Cell styles |
allCharacterStyles | Array of CharacterStyle | readonly | Lists all character styles (regardless of their group). |
allObjectStyles | Array of ObjectStyle | readonly | All object styles contained by the Application. |
allParagraphStyles | Array of ParagraphStyle | readonly | Lists all paragraph styles (regardless of their group). |
allPreflightObjectTypes | Array of string | readonly | The list of all object types (strings) a preflight rule can operate on. |
allPreflightRuleCategories | Array of string | readonly | The list of all categories that have been declared by rules. |
allPreflightRuleIDs | Array of string | readonly | The list of all known (declared) rule IDs. |
allTableStyles | Array of TableStyle | readonly | All Table styles |
anchoredObjectDefaults | AnchoredObjectDefault | readonly | Anchored object default settings. |
anchoredObjectSettings | AnchoredObjectSetting | readonly | Anchored object settings. |
autoCorrectPreferences | AutoCorrectPreference | readonly | Auto-correct preferences. |
autoCorrectTables | AutoCorrectTables AutoCorrectTable | readonly | A collection of auto-correct tables. |
baselineFrameGridOptions | BaselineFrameGridOption | readonly | Baseline frame grid option settings. |
books | Books Book | readonly | A collection of books. |
buttonPreferences | ButtonPreference | readonly | Button preference settings. |
cellStyleGroups | CellStyleGroups CellStyleGroup | readonly | A collection of cell style groups. |
cellStyleMappings | CellStyleMappings CellStyleMapping | readonly | A collection of cell style mappings. |
cellStyles | CellStyles CellStyle | readonly | A collection of cell styles. |
changeGlyphPreferences | ChangeGlyphPreference NothingEnum |
r/w | Change glyph preferences. Can also accept: NothingEnum enumerator. |
changeGrepPreferences | ChangeGrepPreference NothingEnum |
r/w | Change grep preferences. Can also accept: NothingEnum enumerator. |
changeObjectPreferences | ChangeObjectPreference NothingEnum |
r/w | Change object preferences. Can also accept: NothingEnum enumerator. |
changeTextPreferences | ChangeTextPreference NothingEnum |
r/w | Change text preferences. Can also accept: NothingEnum enumerator. |
changeTransliteratePreferences | ChangeTransliteratePreference NothingEnum |
r/w | Change transliterate preferences. Can also accept: NothingEnum enumerator. |
charStyleMappings | CharStyleMappings CharStyleMapping | readonly | A collection of char style mappings. |
characterStyleGroups | CharacterStyleGroups CharacterStyleGroup | readonly | A collection of character style groups. |
characterStyles | CharacterStyles CharacterStyle | readonly | A collection of character styles. |
cjkGridPreferences | CjkGridPreference | readonly | CJK grid preference settings. |
clearOverridesWhenApplyingStyle | bool | r/w | Clear overrides first before applying object style |
clipboardPreferences | ClipboardPreference | readonly | Clipboard preference properties that define the way that the application interacts with the system clipboard. |
colorSettings | ColorSetting | readonly | Color setting properties that define color management defaults. |
colors | Colors Color | readonly | A collection of colors. |
compositeFonts | CompositeFonts CompositeFont | readonly | A collection of composite fonts. |
conditionSets | ConditionSets ConditionSet | readonly | A collection of condition sets for conditional text. |
conditionalTextPreferences | ConditionalTextPreference | readonly | Conditional text preferences. |
conditions | Conditions Condition | readonly | A collection of conditions for conditional text. |
contentPlacer | ContentPlacerObject | readonly | The Content Placer. Used to get a reference to the content placer object. |
dashedStrokeStyles | DashedStrokeStyles DashedStrokeStyle | readonly | A collection of dashed stroke styles. |
dataMergeOptions | DataMergeOption | readonly | The data merge option properties that define the data merge. |
dictionaryPreferences | DictionaryPreference | readonly | User dictionary preference settings. |
documentPreferences | DocumentPreference | readonly | Document preference settings. |
documentPresets | DocumentPresets DocumentPreset | readonly | A collection of document presets. |
documents | Documents Document | readonly | A collection of documents. |
dottedStrokeStyles | DottedStrokeStyles DottedStrokeStyle | readonly | A collection of dotted stroke styles. |
epsExportPreferences | EPSExportPreference | readonly | EPS export preferences. |
epsImportPreferences | EPSImportPreference | readonly | EPS import preferences. |
errorListErrors | ErrorListErrors ErrorListError | readonly | A collection of error list errors. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
excelImportPreferences | ExcelImportPreference | readonly | Excel import preferences. |
exportForWebPreferences | ExportForWebPreference | readonly | The default export for web preferences. |
featureSet | FeatureSetOptions: FeatureSetOptions.ROMAN FeatureSetOptions.JAPANESE FeatureSetOptions.RIGHTTOLEFT |
readonly | The feature set. |
filePath | File | readonly | The full path to the file. |
findChangeGlyphOptions | FindChangeGlyphOption NothingEnum |
r/w | Find/change glyph options. Can also accept: NothingEnum enumerator. |
findChangeGrepOptions | FindChangeGrepOption NothingEnum |
r/w | Find/change grep options. Can also accept: NothingEnum enumerator. |
findChangeObjectOptions | FindChangeObjectOption NothingEnum |
r/w | Find/change object options. Can also accept: NothingEnum enumerator. |
findChangeTextOptions | FindChangeTextOption NothingEnum |
r/w | Find/change text options. Can also accept: NothingEnum enumerator. |
findChangeTransliterateOptions | FindChangeTransliterateOption NothingEnum |
r/w | Find/change transliterate options. Can also accept: NothingEnum enumerator. |
findGlyphPreferences | FindGlyphPreference NothingEnum |
r/w | Find glyph preferences. Can also accept: NothingEnum enumerator. |
findGrepPreferences | FindGrepPreference NothingEnum |
r/w | Find grep preferences. Can also accept: NothingEnum enumerator. |
findObjectPreferences | FindObjectPreference NothingEnum |
r/w | Find object preferences. Can also accept: NothingEnum enumerator. |
findTextPreferences | FindTextPreference NothingEnum |
r/w | Find text preferences. Can also accept: NothingEnum enumerator. |
findTransliteratePreferences | FindTransliteratePreference NothingEnum |
r/w | Find transliterate preferences. Can also accept: NothingEnum enumerator. |
flattenerPresets | FlattenerPresets FlattenerPreset | readonly | A collection of transparency flattener presets. |
fontLockingPreferences | FontLockingPreference | readonly | Font locking preference settings. |
fonts | Fonts Font | readonly | A collection of fonts. |
footnoteOptions | FootnoteOption | readonly | Footnote option settings. |
frameFittingOptions | FrameFittingOption | readonly | The frame fitting option to apply to placed or pasted content. Can be applied to a frame, object style, or document or to the application. |
fullName | File | readonly | The full path to the Application, including the name of the Application. |
generalPreferences | GeneralPreference | readonly | General preference settings. |
gradients | Gradients Gradient | readonly | A collection of gradients. |
gridPreferences | GridPreference | readonly | Grid preference settings. |
gridPrintingPreferences | GridPrintingPreference | readonly | Grid printing preference and export settings. |
guidePreferences | GuidePreference | readonly | Guide preference settings. |
idleTasks | IdleTasks IdleTask | readonly | All attachable idle tasks. |
imageIOPreferences | ImageIOPreference | readonly | The image I/O preference properties that define preferences for importing images. |
imagePreferences | ImagePreference | readonly | Image preferences. |
importedPageAttributes | ImportedPageAttribute | readonly | Placed InDesign page attributes. |
incopyExportOptions | InCopyExportOption | readonly | Export options for InCopy INCX document format. |
indexGenerationOptions | IndexOptions | readonly | The index options properties that define how an index is formatted. |
indexingSortOptions | IndexingSortOptions IndexingSortOption | readonly | A collection of indexing sort options. |
inks | Inks Ink | readonly | A collection of inks. |
interactivePDFExportPreferences | InteractivePDFExportPreference | readonly | Interactive PDF export preferences. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
jpegExportPreferences | JPEGExportPreference | readonly | JPEG export preferences. |
kinsokuTables | KinsokuTables KinsokuTable | readonly | A collection of kinsoku tables. |
label | string | r/w | A property that can be set to any string. |
languagesWithVendors | LanguagesWithVendors | readonly | A collection of languages with vendors. |
layoutAdjustmentPreferences | LayoutAdjustmentPreference | readonly | Layout sdjustment preference settings. |
layoutGridData | LayoutGridDataInformation | readonly | Default properties specific to layout grids. |
libraries | Libraries Library | readonly | A collection of object libraries. |
linkedPageItemOptions | LinkedPageItemOption | readonly | Linked Page Item options |
linkedStoryOptions | LinkedStoryOption | readonly | Linked story options |
linkingPreferences | LinkingPreference | readonly | The links preference properties that define preferences for links. |
locale | Locale: Locale.DANISH_LOCALE Locale.ENGLISH_LOCALE Locale.INTERNATIONAL_ENGLISH_LOCALE Locale.FINNISH_LOCALE Locale.FRENCH_LOCALE Locale.GERMAN_LOCALE Locale.ITALIAN_LOCALE Locale.PORTUGUESE_LOCALE Locale.SPANISH_LOCALE Locale.SWEDISH_LOCALE Locale.JAPANESE_LOCALE Locale.ARABIC_LOCALE Locale.CZECH_LOCALE Locale.GREEK_LOCALE Locale.HEBREW_LOCALE Locale.HUNGARIAN_LOCALE Locale.POLISH_LOCALE Locale.ROMANIAN_LOCALE Locale.RUSSIAN_LOCALE Locale.TURKISH_LOCALE Locale.UKRAINIAN_LOCALE Locale.KOREAN_LOCALE Locale.SIMPLIFIED_CHINESE_LOCALE Locale.TRADITIONAL_CHINESE_LOCALE |
readonly | The locale of the application. |
marginPreferences | MarginPreference | readonly | Margin preference settings. |
mixedInkGroups | MixedInkGroups MixedInkGroup | readonly | A collection of mixed ink groups. |
mixedInks | MixedInks MixedInk | readonly | A collection of mixed inks. |
mojikumiTables | MojikumiTables MojikumiTable | readonly | A collection of mojikumi tables. |
mojikumiUIPreferences | MojikumiUiPreference | readonly | Mojikumi user interface preference settings. |
motionPresets | MotionPresets MotionPreset | readonly | A collection of Motion presets. |
name | string | readonly | The name of the Application. |
namedGrids | NamedGrids NamedGrid | readonly | A collection of named grids. |
numberingLists | NumberingLists NumberingList | readonly | A collection of numbered lists. |
objectStyleGroups | ObjectStyleGroups ObjectStyleGroup | readonly | A collection of object style groups. |
objectStyles | ObjectStyles ObjectStyle | readonly | A collection of object styles. |
pageItemDefaults | PageItemDefault | readonly | The default page item formatting for the Application. |
paraStyleMappings | ParaStyleMappings ParaStyleMapping | readonly | A collection of para style mappings. |
paragraphStyleGroups | ParagraphStyleGroups ParagraphStyleGroup | readonly | A collection of paragraph style groups. |
paragraphStyles | ParagraphStyles ParagraphStyle | readonly | A collection of paragraph styles. |
parent | Application | readonly | The parent of the Application (a Application). |
pasteboardPreferences | PasteboardPreference | readonly | Pasteboard preference settings. |
pdfExportPreferences | PDFExportPreference | readonly | A collection of PDF export preferences. |
pdfExportPresets | PDFExportPresets PDFExportPreset | readonly | A collection of PDF export presets. |
pdfPlacePreferences | PDFPlacePreference | readonly | The PDF place preference properties that define how PDF files are placed in the current document. |
performanceMetrics | Array of number | readonly | The available performance metrics. |
placeableFileExtensions | Array of string | readonly | Lists the extensions of file types that can be placed. |
placeableFileTypes | Array of string | readonly | Lists the types of files that can be placed. |
pngExportPreferences | PNGExportPreference | readonly | PNG export preferences. |
polygonPreferences | PolygonPreference | readonly | Polygon preference properties to use to define default settings for creating a polygon. |
preferences | Preferences Preference | readonly | A collection of preferences objects. |
preflightBookOptions | PreflightBookOption | readonly | Preflight book option settings. |
preflightOptions | PreflightOption | readonly | Preflight option settings. |
preflightProcesses | PreflightProcesses | readonly | A collection of preflight processes. |
preflightProfiles | PreflightProfiles PreflightProfile | readonly | A collection of preflight profiles. |
preflightRules | PreflightRules PreflightRule | readonly | A collection of preflight rules. |
printerPresets | PrinterPresets PrinterPreset | readonly | A collection of printer presets. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
scriptArgs | ScriptArg | readonly | Arguments to pass to a script. |
scriptPreferences | ScriptPreference | readonly | Script preferences. |
serialNumber | string | readonly | The user's serial number. |
serverAdminPort | number | readonly | The socket the server uses to service administrative requests. |
serverHostName | string | readonly | The name of the machine InDesignServer is running on; either symbolic (host.corp.com) or IPv4 address (123.345.678.90). |
serverSettings | ServerSetting | readonly | Runtime settings specific to server. |
spellPreferences | SpellPreference | readonly | Spell-check preferences. |
storyGridData | StoryGridDataInformation | readonly | Default properties specific to frame grids. |
storyPreferences | StoryPreference | readonly | Story preference settings. |
stripedStrokeStyles | StripedStrokeStyles StripedStrokeStyle | readonly | A collection of striped stroke styles. |
strokeStyles | StrokeStyles StrokeStyle | readonly | A collection of stroke styles. |
swatches | Swatches | readonly | A collection of swatches. |
swfExportPreferences | SWFExportPreference | readonly | SWF export preferences. |
tableStyleGroups | TableStyleGroups TableStyleGroup | readonly | A collection of table style groups. |
tableStyleMappings | TableStyleMappings TableStyleMapping | readonly | A collection of table style mappings. |
tableStyles | TableStyles TableStyle | readonly | A collection of table styles. |
taggedPDFPreferences | TaggedPDFPreference | readonly | Tagged PDF preferences. |
taggedTextExportPreferences | TaggedTextExportPreference | readonly | Tagged text export preferences. |
taggedTextImportPreferences | TaggedTextImportPreference | readonly | Tagged text import preferences. |
textDefaults | TextDefault | readonly | Text default settings. |
textExportPreferences | TextExportPreference | readonly | Text export preferences. |
textFramePreferences | TextFramePreference | readonly | Text frame preference settings. |
textImportPreferences | TextImportPreference | readonly | Text import preferences. |
textPreferences | TextPreference | readonly | Text preference settings. |
textVariables | TextVariables TextVariable | readonly | A collection of text variables. |
textWrapPreferences | TextWrapPreference | readonly | The text wrap preference properties that define the default formatting for wrapping text around objects. |
tints | Tints Tint | readonly | A collection of tints. |
trackChangesPreferences | TrackChangesPreference | readonly | Track changes preference settings. |
transformPreferences | TransformPreference | readonly | Transform preference properties that define default behaviors when transforming objects. Note: Transforming includes rotation, scaling, flipping, and shearing. |
transformationMatrices | TransformationMatrices | readonly | A collection of transformation matrices. |
transparencyPreferences | TransparencyPreference | readonly | Transparency preference settings. |
trapPresets | TrapPresets TrapPreset | readonly | A collection of trap presets. |
unusedSwatches | Array of Swatch | readonly | The swatches that are not being used. |
userColor | 3 Reals (0 - 255) InCopyUIColors |
r/w | The color assigned to the tracked changes and notes created by the user, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as an InCopy UI color. Can return: Array of 3 Reals (0 - 255) or InCopyUIColors enumerator. |
userDictionaries | UserDictionaries UserDictionary | readonly | A collection of user dictionaries. |
userName | string | r/w | The user associated with the tracked changes and notes. |
version | string | readonly | The application version. |
viewPreferences | ViewPreference | readonly | View preference settings. |
watermarkPreferences | WatermarkPreference | readonly | Watermark preferences |
wordRTFImportPreferences | WordRTFImportPreference | readonly | Word and RTF import preferences. |
xflExportPreferences | XFLExportPreference | readonly | XFL export preferences. |
xmlExportMaps | XMLExportMaps XMLExportMap | readonly | A collection of XML export maps. |
xmlExportPreferences | XMLExportPreference | readonly | XML export preference settings. |
xmlImportMaps | XMLImportMaps XMLImportMap | readonly | A collection of XML import maps. |
xmlImportPreferences | XMLImportPreference | readonly | XML import preference settings. |
xmlPreferences | XMLPreference | readonly | The XML preference settings. |
xmlRuleProcessors | XMLRuleProcessors XMLRuleProcessor | readonly | A collection of XML rule processors. |
xmlTags | XMLTags XMLTag | readonly | A collection of XML tags. |
Class
Property | Type | Access | Description |
---|---|---|---|
AFTER_CLOSE | string | readonly | Dispatched after a Document is closed. This event bubbles. This event is not cancelable. (default: afterClose) |
AFTER_QUIT | string | readonly | Dispatched when the Application is quitting. Since the quit has been committed, it can not be canceled. This event bubbles. This event is not cancelable. (default: afterQuit) |
BEFORE_NEW | string | readonly | Dispatched before a Document is created. This event bubbles. This event is cancelable. (default: beforeNew) |
BEFORE_OPEN | string | readonly | Dispatched before a Document is opened. This event bubbles. This event is cancelable. (default: beforeOpen) |
BEFORE_QUIT | string | readonly | Dispatched before the Application is quit. Allows the quit to be canceled. This event bubbles. This event is cancelable. (default: beforeQuit) |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of Text changeGlyph ([reverseOrder:
bool])
Finds glyphs that match the find what value and replaces the glyphs with the change to value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of Text changeGrep ([reverseOrder:
bool])
Finds text that matches the find what value and replaces the text with the change to value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of PageItem changeObject ([reverseOrder:
bool])
Finds objects that match the find what value and replace the objects with the change to value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of Text changeText ([reverseOrder:
bool])
Finds text that matches the find what value and replaces the text with the change to value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of Text changeTransliterate ([reverseOrder:
bool])
Finds text that matches the find character type value and replaces the text with the change character type value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
void clearAllErrors ()
Clears all errors in the error list.
void clearFrameFittingOptions ()
Removes the frame fittings options and resets it to the initial state.
void consoleerr (message:
string)
Outputs the specified message to std err.
Parameter | Type | Description |
---|---|---|
message | string | The message. |
void consoleout (message:
string)
Outputs the specified message to std out.
Parameter | Type | Description |
---|---|---|
message | string | The message. |
void deleteFindChangeQuery (queryName:
string, searchMode:
SearchModes)
Deletes the specified find/change query.
Parameter | Type | Description |
---|---|---|
queryName | string | The query to delete. |
searchMode | SearchModes: SearchModes.TEXT_SEARCH SearchModes.GREP_SEARCH SearchModes.GLYPH_SEARCH SearchModes.OBJECT_SEARCH SearchModes.TRANSLITERATE_SEARCH | The search mode. |
void deleteUnusedTags ()
Deletes unused XML markup tags.
any doScript (script:
varies[, language:
ScriptLanguage=ScriptLanguage.UNKNOWN][, withArguments:
Array of any][, undoMode:
UndoModes=UndoModes.SCRIPT_REQUEST][, undoName:
string=Script])
Executes the script in the specified language as a single transaction.
Parameter | Type | Description |
---|---|---|
script | File JavaScript Function String | The script to execute. Can accept: File, String or JavaScript Function. |
language | ScriptLanguage: ScriptLanguage.UNKNOWN ScriptLanguage.JAVASCRIPT ScriptLanguage.APPLESCRIPT_LANGUAGE | The language of the script to execute. If not specified, uses the language used to call this method. (Optional) (default: ScriptLanguage.UNKNOWN) |
withArguments | Array of any | An array of arguments passed to the script. (Optional) |
undoMode | UndoModes: UndoModes.SCRIPT_REQUEST UndoModes.ENTIRE_SCRIPT UndoModes.AUTO_UNDO UndoModes.FAST_ENTIRE_SCRIPT | How to undo this script. (Optional) (default: UndoModes.SCRIPT_REQUEST) |
undoName | string | The name of the undo step for entire script undo mode. (Optional) (default: Script) |
void dumpBetweenMemoryMarks (from:
Array of number, to:
Array of number)
Dumps memory allocations from all marks in the specified range.
Parameter | Type | Description |
---|---|---|
from | Array of number | The first mark in the range. |
to | Array of number | The last mark in the range. |
void dumpFromMemoryMark (from:
Array of number)
Dumps memory allocations from the specified mark.
Parameter | Type | Description |
---|---|---|
from | Array of number | The mark from which to dump memory. |
void exportPresets (format:
ExportPresetFormat, to:
File[, versionComments:
string][, forceSave:
bool=false])
Export the presets to a file.
Parameter | Type | Description |
---|---|---|
format | ExportPresetFormat: ExportPresetFormat.PDF_EXPORT_PRESETS_FORMAT ExportPresetFormat.PRINTER_PRESETS_FORMAT ExportPresetFormat.FLATTENER_PRESETS_FORMAT ExportPresetFormat.DOCUMENT_PRESETS_FORMAT | The preset format. |
to | File | The file to export to. |
versionComments | string | The comments for this version. (Optional) |
forceSave | bool | Forcibly save a version. (Optional) (default: false) |
void exportStrokeStyles (to:
File, strokeStyleList:
Array of StrokeStyle[, versionComments:
string][, forceSave:
bool=false])
Exports stroke styles or presets.
Parameter | Type | Description |
---|---|---|
to | File | The file to save to |
strokeStyleList | Array of StrokeStyle | The list of stroke styles to save |
versionComments | string | The comment for this version (Optional) |
forceSave | bool | Forcibly save a version (Optional) (default: false) |
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of Text findGlyph ([reverseOrder:
bool])
Finds glyphs that match the find what value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of Text findGrep ([reverseOrder:
bool])
Finds text that matches the find what value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of string findKeyStrings (for:
string)
Returns the locale-independent string(s) from the internal string localization database that correspond to the specified string (in the current locale).
Parameter | Type | Description |
---|---|---|
for | string | The string to search for. |
Array of PageItem findObject ([reverseOrder:
bool])
Finds objects that match the find what value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of Text findText ([reverseOrder:
bool])
Finds text that matches the find what value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
Array of Text findTransliterate ([reverseOrder:
bool])
Finds text that matches the find character type value.
Parameter | Type | Description |
---|---|---|
reverseOrder | bool | If true, returns the results in reverse order. (Optional) |
void generateIDMLSchema (to:
File[, packageFormat:
bool])
Generate schema for IDML.
Parameter | Type | Description |
---|---|---|
to | File | The folder path of the schema. |
packageFormat | bool | If true, generate schema for package format (multiple files). Default value is false. (Optional) |
Array of Application getElements ()
Resolves the object specifier, creating an array of object references.
Color importAdobeSwatchbookProcessColor (name:
string)
Imports a process color swatch from a preloaded Adobe color book.
Parameter | Type | Description |
---|---|---|
name | string | The process color to load. |
Color importAdobeSwatchbookSpotColor (name:
string)
Imports a spot color swatch from an Adobe color book.
Parameter | Type | Description |
---|---|---|
name | string | The spot color to load. |
void importFile (format:
ExportPresetFormat, from:
File)
Imports presets from the specified file.
Parameter | Type | Description |
---|---|---|
format | ExportPresetFormat: ExportPresetFormat.PDF_EXPORT_PRESETS_FORMAT ExportPresetFormat.PRINTER_PRESETS_FORMAT ExportPresetFormat.FLATTENER_PRESETS_FORMAT ExportPresetFormat.DOCUMENT_PRESETS_FORMAT | The type of preset to import. |
from | File | The file to import presets from. |
void importStyles (format:
ImportFormat, from:
File[, globalStrategy:
GlobalClashResolutionStrategy=GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE])
Imports the specified styles.
Parameter | Type | Description |
---|---|---|
format | ImportFormat: ImportFormat.CHARACTER_STYLES_FORMAT ImportFormat.PARAGRAPH_STYLES_FORMAT ImportFormat.TEXT_STYLES_FORMAT ImportFormat.TOC_STYLES_FORMAT ImportFormat.NAMED_GRIDS_FORMAT ImportFormat.OBJECT_STYLES_FORMAT ImportFormat.STROKE_STYLES_FORMAT ImportFormat.TABLE_STYLES_FORMAT ImportFormat.CELL_STYLES_FORMAT ImportFormat.TABLE_AND_CELL_STYLES_FORMAT | The types of styles to import. |
from | File | The file containing the styles you want to import. |
globalStrategy | GlobalClashResolutionStrategy: GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE GlobalClashResolutionStrategy.LOAD_ALL_WITH_RENAME GlobalClashResolutionStrategy.DO_NOT_LOAD_THE_STYLE | The resolution strategy to employ for imported styles that have the same names as existing styles. (Optional) (default: GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE) |
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
void loadConditions (from:
File[, loadConditionSets:
bool])
Load conditions from the specified file.
Parameter | Type | Description |
---|---|---|
from | File | The path to the file that contains the conditions. |
loadConditionSets | bool | If true, load the condition sets as well. (Optional) |
void loadFindChangeQuery (queryName:
string, searchMode:
SearchModes)
Loads the specified find/change query.
Parameter | Type | Description |
---|---|---|
queryName | string | The query to load. |
searchMode | SearchModes: SearchModes.TEXT_SEARCH SearchModes.GREP_SEARCH SearchModes.GLYPH_SEARCH SearchModes.OBJECT_SEARCH SearchModes.TRANSLITERATE_SEARCH | The search mode. |
MotionPreset loadMotionPreset (from:
File)
Load motion preset from the specified file.
Parameter | Type | Description |
---|---|---|
from | File | The Flash motion preset file. |
PreflightProfile loadPreflightProfile (from:
File)
Load preflight profile from the specified file.
Parameter | Type | Description |
---|---|---|
from | File | The InDesign preflight profile file or InDesign document. |
void loadSwatches (from:
File)
Load swatches from the specified file.
Parameter | Type | Description |
---|---|---|
from | File | The swatch file or InDesign document. |
void loadXMLTags (from:
File)
Loads a set of XML markup tags from the specified file.
Parameter | Type | Description |
---|---|---|
from | File | The path to the file that contains the tags. |
Array of any memoryStatistics ()
Gets the memory statistics from the server.
void mountProject (serverURL:
string, projectName:
string)
Mount a Version Cue project.
Parameter | Type | Description |
---|---|---|
serverURL | string | The URL of the Version Cue server containing the project |
projectName | string | The name of the Version Cue project to mount |
any open (from:
varies[, openOption:
OpenOptions=OpenOptions.DEFAULT_VALUE])
Opens the specified document, book, or library.
Parameter | Type | Description |
---|---|---|
from | Array of Files File | The file path(s) to the document, book, or library. Can accept: File or Array of Files. |
openOption | OpenOptions: OpenOptions.DEFAULT_VALUE OpenOptions.OPEN_ORIGINAL OpenOptions.OPEN_COPY | How to open the document. (Optional) (default: OpenOptions.DEFAULT_VALUE) |
void packageUCF (sourceFolder:
File, ucfFile:
File[, mimeMediaType:
string=application/vnd.adobe.indesign-idml-package])
Package a folder into a UCF file.
Parameter | Type | Description |
---|---|---|
sourceFolder | File | The folder to be packaged into an IDML file. Does not validate structure of the folder pursuant to the IDML spec. Caller is responsible for making sure the files in the folder are correctly organized. |
ucfFile | File | The destination UCF file. Will be overwritten if it already exists. |
mimeMediaType | string | The MIME media type, default value identifies package as IDML. (Optional) (default: application/vnd.adobe.indesign-idml-package) |
any performanceMetric (for:
varies)
Gets the current value of the specified performance metric.
Parameter | Type | Description |
---|---|---|
for | Long Integer PerformanceMetricOptions | The status to get from InDesign. Can accept: Long Integer or PerformanceMetricOptions enumerator. |
string performanceMetricLongName (for:
varies)
Gets the long name of the specified performance metric.
Parameter | Type | Description |
---|---|---|
for | Long Integer PerformanceMetricOptions | The status to get from InDesign. Can accept: Long Integer or PerformanceMetricOptions enumerator. |
string performanceMetricShortName (for:
varies)
Gets the short name of the specified performance metric.
Parameter | Type | Description |
---|---|---|
for | Long Integer PerformanceMetricOptions | The status to get from InDesign. Can accept: Long Integer or PerformanceMetricOptions enumerator. |
void print (from:
varies[, using:
varies][, withGrids:
bool=false])
Prints the specified file(s).
Parameter | Type | Description |
---|---|---|
from | Array of Files File | One or more file paths. Can accept: File or Array of Files. |
using | PrinterPreset PrinterPresetTypes | Printer preset to use. Can accept: PrinterPresetTypes enumerator or PrinterPreset. (Optional) |
withGrids | bool | Whether to print grids (Optional) (default: false) |
void quit ([saving:
SaveOptions=SaveOptions.NO])
Quits the application.
Parameter | Type | Description |
---|---|---|
saving | SaveOptions: SaveOptions.NO SaveOptions.YES | The option to use for saving changes to open documents before quitting. (Optional) (default: SaveOptions.NO) |
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
void saveFindChangeQuery (queryName:
string, searchMode:
SearchModes)
Saves the specified find/change query.
Parameter | Type | Description |
---|---|---|
queryName | string | The query to save. |
searchMode | SearchModes: SearchModes.TEXT_SEARCH SearchModes.GREP_SEARCH SearchModes.GLYPH_SEARCH SearchModes.OBJECT_SEARCH SearchModes.TRANSLITERATE_SEARCH | The search mode. |
void saveSwatches (to:
File, swatchList:
Array of Swatch[, versionComments:
string][, forceSave:
bool=false])
Saves the specified swatch(es) to a swatchbook file.
Parameter | Type | Description |
---|---|---|
to | File | The swatchbook file to save to. |
swatchList | Array of Swatch | The swatch(es) to save. |
versionComments | string | The comment for this version. (Optional) |
forceSave | bool | If true, forcibly saves a version. (Optional) (default: false) |
void saveXMLTags (to:
File[, versionComments:
string][, forceSave:
bool=false])
Saves a set of tags to an external file.
Parameter | Type | Description |
---|---|---|
to | File | The full path to the file in which to save the tags. |
versionComments | string | The comment for this version. (Optional) |
forceSave | bool | If true, forcibly saves a version. (Optional) (default: false) |
void serverTest (testName:
string)
Executes a server test.
Parameter | Type | Description |
---|---|---|
testName | string | The test to execute. |
void setApplicationPreferences (applicationPreferences:
varies)
Sets the application's preferences.
Parameter | Type | Description |
---|---|---|
applicationPreferences | File LanguageAndRegion | The IDML defaults file or enumeration. Can accept: File or LanguageAndRegion enumerator. |
string toSource ()
Generates a string which, if executed, will return the Application.
string toSpecifier ()
Retrieves the object specifier.
string translateKeyString (for:
string)
Translates a key string into localized form based on current application locale.
Parameter | Type | Description |
---|---|---|
for | string | The key string to translate |
void unpackageUCF (ucfFile:
File, destinationFolder:
File)
Unpackage a UCF file into a folder structure.
Parameter | Type | Description |
---|---|---|
ucfFile | File | The UCF file to be unpackaged. |
destinationFolder | File | The folder where you would like the UCF file unpackaged to. Will be created if it does not exist. |
void updateFonts ()
Forces a check for new fonts in the various Fonts folders.
Element of
AlignDistributePreference.parent
AnchoredObjectDefault.parent
Application.parent
AutoCorrectPreference.parent
AutoCorrectTable.parent
Book.parent
ButtonPreference.parent
CellStyle.parent
CellStyleGroup.parent
ChangeGlyphPreference.parent
ChangeGrepPreference.parent
ChangeObjectPreference.parent
ChangeTextPreference.parent
ChangeTransliteratePreference.parent
CharacterStyle.parent
CharacterStyleGroup.parent
CjkGridPreference.parent
ClipboardPreference.parent
Color.parent
ColorSetting.parent
CompositeFont.parent
Condition.parent
ConditionSet.parent
ConditionalTextPreference.parent
ContentPlacerObject.parent
DashedStrokeStyle.parent
DataMergeOption.parent
DictionaryPreference.parent
Document.parent
DocumentEvent.parent
DocumentPreference.parent
DocumentPreset.parent
DottedStrokeStyle.parent
EPSExportPreference.parent
EPSImportPreference.parent
ErrorListError.parent
ExcelImportPreference.parent
ExportForWebPreference.parent
FindChangeGlyphOption.parent
FindChangeGrepOption.parent
FindChangeObjectOption.parent
FindChangeTextOption.parent
FindChangeTransliterateOption.parent
FindGlyphPreference.parent
FindGrepPreference.parent
FindObjectPreference.parent
FindTextPreference.parent
FindTransliteratePreference.parent
FlattenerPreset.parent
Font.parent
FontLockingPreference.parent
FootnoteOption.parent
FrameFittingOption.parent
GeneralPreference.parent
Gradient.parent
GridPreference.parent
GridPrintingPreference.parent
GuidePreference.parent
IdleTask.parent
ImageIOPreference.parent
ImagePreference.parent
ImportExportEvent.parent
ImportedPageAttribute.parent
IndexOptions.parent
IndexingSortOption.parent
Ink.parent
InteractivePDFExportPreference.parent
JPEGExportPreference.parent
KinsokuTable.parent
LanguageWithVendors.parent
LayoutAdjustmentPreference.parent
LayoutGridDataInformation.parent
Library.parent
LinkingPreference.parent
MixedInk.parent
MixedInkGroup.parent
MojikumiTable.parent
MojikumiUiPreference.parent
MotionPreset.parent
NamedGrid.parent
NumberingList.parent
ObjectStyle.parent
ObjectStyleGroup.parent
PDFExportPreference.parent
PDFExportPreset.parent
PDFPlacePreference.parent
PNGExportPreference.parent
PageItemDefault.parent
ParagraphStyle.parent
ParagraphStyleGroup.parent
PasteboardPreference.parent
PolygonPreference.parent
PreflightBookOption.parent
PreflightOption.parent
PreflightProcess.parent
PreflightProfile.parent
PreflightRule.parent
PrinterPreset.parent
SWFExportPreference.parent
ScriptArg.parent
ScriptPreference.parent
ServerSetting.parent
SpellPreference.parent
StoryGridDataInformation.parent
StripedStrokeStyle.parent
StrokeStyle.parent
Swatch.parent
TableStyle.parent
TableStyleGroup.parent
TaggedPDFPreference.parent
TaggedTextExportPreference.parent
TaggedTextImportPreference.parent
TextDefault.parent
TextExportPreference.parent
TextImportPreference.parent
TextPreference.parent
TextVariable.parent
Tint.parent
TrackChangesPreference.parent
TransformPreference.parent
TransformationMatrix.parent
TransparencyPreference.parent
TrapPreset.parent
UserDictionary.parent
ViewPreference.parent
WatermarkPreference.parent
WordRTFImportPreference.parent
XFLExportPreference.parent
XMLExportMap.parent
XMLExportPreference.parent
XMLImportMap.parent
XMLImportPreference.parent
XMLPreference.parent
XMLRuleProcessor.parent
XMLTag.parent
Return
Array of Application Application.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |