Application
The application.
Class
Read Only
String BEFORE_NEW = beforeNew
Dispatched before a Document is created. This event bubbles. This event is cancelable.
Read Only
String BEFORE_OPEN = beforeOpen
Dispatched before a Document is opened. This event bubbles. This event is cancelable.
Read Only
String AFTER_CLOSE = afterClose
Dispatched after a Document is closed. This event bubbles. This event is not cancelable.
Read Only
String AFTER_CONTEXT_CHANGED = afterContextChanged
Dispatched after the active context changes. This event bubbles. This event is not cancelable.
Read Only
String AFTER_SELECTION_CHANGED = afterSelectionChanged
Dispatched after the active selection changes. This event bubbles. This event is not cancelable.
Read Only
String AFTER_SELECTION_ATTRIBUTE_CHANGED = afterSelectionAttributeChanged
Dispatched after an attribute on the active selection changes. This event bubbles. This event is not cancelable.
Read Only
String BEFORE_DEACTIVATE = beforeDeactivate
Dispatched before the Application becomes inactive. This event bubbles. This event is not cancelable.
Read Only
String AFTER_ACTIVATE = afterActivate
Dispatched after the Application becomes active. This event bubbles. This event is not cancelable.
Read Only
String BEFORE_QUIT = beforeQuit
Dispatched before the Application is quit. Allows the quit to be canceled. This event bubbles. This event is cancelable.
Read Only
String AFTER_QUIT = afterQuit
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.
Instance
Read Only
XMLViewPreference xmlViewPreferences
XML view preference settings.
Read Only
Number performanceMetrics
The available performance metrics.
Read Only
ToolBox toolBoxTools
The current tool box states
Read Only
DisplayPerformancePreference displayPerformancePreferences
Display performance settings.
Read Only
GpuPerformancePreference gpuPerformancePreferences
GPU performance preferences.
Read Only
GalleyPreference galleyPreferences
Galley preference settings.
Read Only
Boolean homeScreenVisible
Get whether home screen is visible or not.
Read Only
TextEditingPreference textEditingPreferences
Text editing preference settings.
Read Only
PreflightOption preflightOptions
Preflight option settings.
Read Only
PreflightBookOption preflightBookOptions
Preflight book option settings.
Read Only
String allPreflightObjectTypes
The list of all object types (strings) a preflight rule can operate on.
Read Only
String allPreflightRuleCategories
The list of all categories that have been declared by rules.
Read Only
String allPreflightRuleIDs
The list of all known (declared) rule IDs.
Read Only
DataMergeOption dataMergeOptions
The data merge option properties that define the data merge.
Read Only
NotePreference notePreferences
Note preference settings.
Read Only
JPEGExportPreference jpegExportPreferences
JPEG export preferences.
Read Only
TextImportPreference textImportPreferences
Text import preferences.
Read Only
TextExportPreference textExportPreferences
Text export preferences.
Read Only
TaggedTextExportPreference taggedTextExportPreferences
Tagged text export preferences.
Read Only
TaggedTextImportPreference taggedTextImportPreferences
Tagged text import preferences.
Read Only
WordRTFImportPreference wordRTFImportPreferences
Word and RTF import preferences.
Read Only
ExcelImportPreference excelImportPreferences
Excel import preferences.
Read Only
EPubExportPreviewAppPreference epubViewingAppsPreferences
EPub export preview app preference settings.
Read Only
XMLPreference xmlPreferences
The XML preference settings.
Read Only
XMLImportPreference xmlImportPreferences
XML import preference settings.
Read Only
XMLExportPreference xmlExportPreferences
XML export preference settings.
Read Only
ExportForWebPreference exportForWebPreferences
The default export for web preferences.
Read Only
TransparencyPreference transparencyPreferences
Transparency preference settings.
Read Only
TextFramePreference textFramePreferences
Text frame preference settings.
Read Only
TextPreference textPreferences
Text preference settings.
Read Only
TextDefault textDefaults
Text default settings.
Read Only
EndnoteOption endnoteOptions
Endnote option settings.
Read Only
DictionaryPreference dictionaryPreferences
User dictionary preference settings.
Read Only
FontSyncPreference fontSyncPreferences
The font sync preference properties that define preferences for fonts.
Read Only
StoryPreference storyPreferences
Story preference settings.
Read Only
AnchoredObjectDefault anchoredObjectDefaults
Anchored object default settings.
Read Only
AnchoredObjectSetting anchoredObjectSettings
Anchored object settings.
Read Only
BaselineFrameGridOption baselineFrameGridOptions
Baseline frame grid option settings.
Read Only
FootnoteOption footnoteOptions
Footnote option settings.
Read Only
ParagraphStyle allParagraphStyles
Lists all paragraph styles (regardless of their group).
Read Only
CharacterStyle allCharacterStyles
Lists all character styles (regardless of their group).
Read Only
TextWrapPreference textWrapPreferences
The text wrap preference properties that define the default formatting for wrapping text around objects.
Read Only
TypeContextualUiPreference typeContextualUiPrefs
Preferences for showing contextual ui for alternates.
Read Only
TableStyle allTableStyles
All Table styles
Read Only
CellStyle allCellStyles
All Cell styles
Read Only
DocumentPreference documentPreferences
Document preference settings.
Read Only
GridPreference gridPreferences
Grid preference settings.
Read Only
GuidePreference guidePreferences
Guide preference settings.
Read Only
MarginPreference marginPreferences
Margin preference settings.
Read Only
PasteboardPreference pasteboardPreferences
Pasteboard preference settings.
Read Only
ViewPreference viewPreferences
View preference settings.
Read Only
SmartGuidePreference smartGuidePreferences
Smart Guide preference properties.
Read Only
SpellPreference spellPreferences
Spell-check preferences.
Read Only
AutoCorrectPreference autoCorrectPreferences
Auto-correct preferences.
Read Only
LinkedStoryOption linkedStoryOptions
Linked story options
Read Only
LinkedPageItemOption linkedPageItemOptions
Linked Page Item options
Read Only
ScriptPreference scriptPreferences
Script preferences.
Read Only
ScriptArg scriptArgs
Arguments to pass to a script.
Read Only
EPSExportPreference epsExportPreferences
EPS export preferences.
Read Only
PNGExportPreference pngExportPreferences
PNG export preferences.
Read Only
PDFExportPreference pdfExportPreferences
A collection of PDF export preferences.
Read Only
InteractivePDFExportPreference interactivePDFExportPreferences
Interactive PDF export preferences.
Read Only
PDFPlacePreference pdfPlacePreferences
The PDF place preference properties that define how PDF files are placed in the current document.
Read Only
TaggedPDFPreference taggedPDFPreferences
Tagged PDF preferences.
Read Only
String placeableFileExtensions
Lists the extensions of file types that can be placed.
Read Only
String placeableFileTypes
Lists the types of files that can be placed.
Read Only
LinkingPreference linkingPreferences
The links preference properties that define preferences for links.
Read Only
GrabberPreference grabberPreferences
Grabber preference properties that define display performance quality during scrolling.
Read Only
IndexOptions indexGenerationOptions
The index options properties that define how an index is formatted.
Read Only
TrackChangesPreference trackChangesPreferences
Track changes preference settings.
Read Only
InCopyExportOption incopyExportOptions
Export options for InCopy INCX document format.
Read Only
IMEPreference imePreferences
IME preference settings.
Read Only
ImageIOPreference imageIOPreferences
The image I/O preference properties that define preferences for importing images.
Read Only
ImagePreference imagePreferences
Image preferences.
Read Only
StrokeFillProxySetting strokeFillProxySettings
Stroke/fill proxy settings.
Read Only
PolygonPreference polygonPreferences
Polygon preference properties to use to define default settings for creating a polygon.
Read Only
ObjectStyle allObjectStyles
All object styles contained by the Application.
Read Only
PageItemDefault pageItemDefaults
The default page item formatting for the Application.
Read Only
AlignDistributePreference alignDistributePreferences
Preferences for alignment and distribution.
Read Only
FrameFittingOption frameFittingOptions
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.
Read Only
ButtonPreference buttonPreferences
Button preference settings.
Read Only
EPSImportPreference epsImportPreferences
EPS import preferences.
Read Only
ImportedPageAttribute importedPageAttributes
Placed InDesign page attributes.
Read Only
Swatch unusedSwatches
The swatches that are not being used.
Read Only
WatermarkPreference watermarkPreferences
Watermark preferences
Read Only
ContentPlacerObject contentPlacer
The Content Placer. Used to get a reference to the content placer object.
Read Only
ConditionalTextPreference conditionalTextPreferences
Conditional text preferences.
Read Only
ColorSetting colorSettings
Color setting properties that define color management defaults.
Read Only
LayoutGridDataInformation layoutGridData
Default properties specific to layout grids.
Read Only
StoryGridDataInformation storyGridData
Default properties specific to frame grids.
Read Only
CjkGridPreference cjkGridPreferences
CJK grid preference settings.
Read Only
GridPrintingPreference gridPrintingPreferences
Grid printing preference and export settings.
Read Only
FontLockingPreference fontLockingPreferences
Font locking preference settings.
Read Only
MojikumiUiPreference mojikumiUIPreferences
Mojikumi user interface preference settings.
Read Only
String name
The name of the Application.
Read Only
File fullName
The full path to the Application, including the name of the Application.
Read Only
File filePath
The full path to the file.
Read Only
String version
The application version.
Read Only
Locale locale
The locale of the application.
Read Only
File activeScript
The current script running from the Scripts panel.
Read Only
String userAdobeId
The current user's adobe id
Read Only
String userGuid
The current user's GUID
Read Only
Boolean visible
If true, the Application is visible.
Read Only
GeneralPreference generalPreferences
General preference settings.
Read Only
ClipboardPreference clipboardPreferences
Clipboard preference properties that define the way that the application interacts with the system clipboard.
Read Only
TransformPreference transformPreferences
Transform preference properties that define default behaviors when transforming objects. Note: Transforming includes rotation, scaling, flipping, and shearing.
Read Only
Boolean modalState
If true, a modal dialog or alert is active.
Read Only
FeatureSetOptions featureSet
The feature set.
Read Only
String undoName
The name of the action on the top of the undo stack.
Read Only
String redoName
The name of the action on the top of the redo stack.
Read Only
String undoHistory
The names of the items in the undo stack.
Read Only
String redoHistory
The names of the items in the redo stack.
Read Only
UndoModes activeScriptUndoMode
The undo mode for the current script execution.
Read Only
String serialNumber
The user's serial number.
Read Only
Boolean isValid
Returns true if the object specifier resolves to valid objects.
Read Only
Application parent
The parent of the Application (a Application).
Read Only
Preferences preferences
A collection of preferences objects.
Read Only
DisplaySettings displaySettings
Display setting properties.
Read Only
PreflightProfiles preflightProfiles
A collection of preflight profiles.
Read Only
PreflightRules preflightRules
A collection of preflight rules.
Read Only
PreflightProcesses preflightProcesses
A collection of preflight processes.
Read Only
Panels panels
A collection of panels.
Read Only
Libraries libraries
A collection of object libraries.
Read Only
PrinterPresets printerPresets
A collection of printer presets.
Read Only
XMLExportMaps xmlExportMaps
A collection of XML export maps.
Read Only
XMLImportMaps xmlImportMaps
A collection of XML import maps.
Read Only
XMLRuleProcessors xmlRuleProcessors
A collection of XML rule processors.
Read Only
XMLTags xmlTags
A collection of XML tags.
Read Only
FlattenerPresets flattenerPresets
A collection of transparency flattener presets.
Read Only
UserDictionaries userDictionaries
A collection of user dictionaries.
Read Only
ParagraphStyleGroups paragraphStyleGroups
A collection of paragraph style groups.
Read Only
CharacterStyleGroups characterStyleGroups
A collection of character style groups.
Read Only
CharacterStyles characterStyles
A collection of character styles.
Read Only
ParagraphStyles paragraphStyles
A collection of paragraph styles.
Read Only
TextVariables textVariables
A collection of text variables.
Read Only
TableStyles tableStyles
A collection of table styles.
Read Only
TableStyleGroups tableStyleGroups
A collection of table style groups.
Read Only
CellStyles cellStyles
A collection of cell styles.
Read Only
CellStyleGroups cellStyleGroups
A collection of cell style groups.
Read Only
StrokeStyles strokeStyles
A collection of stroke styles.
Read Only
DashedStrokeStyles dashedStrokeStyles
A collection of dashed stroke styles.
Read Only
DottedStrokeStyles dottedStrokeStyles
A collection of dotted stroke styles.
Read Only
StripedStrokeStyles stripedStrokeStyles
A collection of striped stroke styles.
Read Only
DocumentPresets documentPresets
A collection of document presets.
Read Only
AutoCorrectTables autoCorrectTables
A collection of auto-correct tables.
Read Only
ParaStyleMappings paraStyleMappings
A collection of para style mappings.
Read Only
CharStyleMappings charStyleMappings
A collection of char style mappings.
Read Only
TableStyleMappings tableStyleMappings
A collection of table style mappings.
Read Only
CellStyleMappings cellStyleMappings
A collection of cell style mappings.
Read Only
Events events
A collection of events.
Read Only
EventListeners eventListeners
A collection of event listeners.
Read Only
IdleTasks idleTasks
All attachable idle tasks.
Read Only
Inks inks
A collection of inks.
Read Only
TrapPresets trapPresets
A collection of trap presets.
Read Only
PDFExportPresets pdfExportPresets
A collection of PDF export presets.
Read Only
LanguagesWithVendors languagesWithVendors
A collection of languages with vendors.
Read Only
IndexingSortOptions indexingSortOptions
A collection of indexing sort options.
Read Only
ObjectStyleGroups objectStyleGroups
A collection of object style groups.
Read Only
ObjectStyles objectStyles
A collection of object styles.
Read Only
TransformationMatrices transformationMatrices
A collection of transformation matrices.
Read Only
Fonts fonts
A collection of fonts.
Read Only
MotionPresets motionPresets
A collection of Motion presets.
Read Only
Documents documents
A collection of documents.
Read Only
Swatches swatches
A collection of swatches.
Read Only
Colors colors
A collection of colors.
Read Only
Tints tints
A collection of tints.
Read Only
Gradients gradients
A collection of gradients.
Read Only
MixedInks mixedInks
A collection of mixed inks.
Read Only
MixedInkGroups mixedInkGroups
A collection of mixed ink groups.
Read Only
ColorGroups colorGroups
A collection of color groups.
Read Only
Dialogs dialogs
A collection of dialogs.
Read Only
Conditions conditions
A collection of conditions for conditional text.
Read Only
ConditionSets conditionSets
A collection of condition sets for conditional text.
Read Only
CompositeFonts compositeFonts
A collection of composite fonts.
Read Only
NamedGrids namedGrids
A collection of named grids.
Read Only
KinsokuTables kinsokuTables
A collection of kinsoku tables.
Read Only
MojikumiTables mojikumiTables
A collection of mojikumi tables.
Read Only
Books books
A collection of books.
Read Only
NumberingLists numberingLists
A collection of numbered lists.
Read Only
Windows windows
A collection of windows.
Read Only
LayoutWindows layoutWindows
A collection of layout windows.
Read Only
StoryWindows storyWindows
A collection of story windows.
Read Only
BackgroundTasks backgroundTasks
A collection of background task objects.
Read Only
MenuActions menuActions
A collection of menu actions.
Read Only
ScriptMenuActions scriptMenuActions
A collection of script menu actions.
Read Only
Menus menus
A collection of menus.
FindChangeColorOption findChangeColorOptions
Find/change color options. Can also accept: NothingEnum enumerator.
FindColorPreference findColorPreferences
Find color preferences. Can also accept: NothingEnum enumerator.
ChangeColorPreference changeColorPreferences
Change color preferences. Can also accept: NothingEnum enumerator.
FindChangeTextOption findChangeTextOptions
Find/change text options. Can also accept: NothingEnum enumerator.
FindChangeGrepOption findChangeGrepOptions
Find/change grep options. Can also accept: NothingEnum enumerator.
FindChangeGlyphOption findChangeGlyphOptions
Find/change glyph options. Can also accept: NothingEnum enumerator.
FindChangeObjectOption findChangeObjectOptions
Find/change object options. Can also accept: NothingEnum enumerator.
FindTextPreference findTextPreferences
Find text preferences. Can also accept: NothingEnum enumerator.
ChangeTextPreference changeTextPreferences
Change text preferences. Can also accept: NothingEnum enumerator.
FindGrepPreference findGrepPreferences
Find grep preferences. Can also accept: NothingEnum enumerator.
ChangeGrepPreference changeGrepPreferences
Change grep preferences. Can also accept: NothingEnum enumerator.
FindGlyphPreference findGlyphPreferences
Find glyph preferences. Can also accept: NothingEnum enumerator.
ChangeGlyphPreference changeGlyphPreferences
Change glyph preferences. Can also accept: NothingEnum enumerator.
FindObjectPreference findObjectPreferences
Find object preferences. Can also accept: NothingEnum enumerator.
ChangeObjectPreference changeObjectPreferences
Change object preferences. Can also accept: NothingEnum enumerator.
FindChangeTransliterateOption findChangeTransliterateOptions
Find/change transliterate options. Can also accept: NothingEnum enumerator.
FindTransliteratePreference findTransliteratePreferences
Find transliterate preferences. Can also accept: NothingEnum enumerator.
ChangeTransliteratePreference changeTransliteratePreferences
Change transliterate preferences. Can also accept: NothingEnum enumerator.
HttpLinkConnectionManagerObject httpLinkConnectionManager
Experimental: Connection manager property
Mixed userColor
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.
String userName
The user associated with the tracked changes and notes.
Boolean clearOverridesWhenApplyingStyle
Clear overrides first before applying object style
Book activeBook
The active book.
Object selection
The selected object(s). Can also accept: Object or NothingEnum enumerator.
Mixed activeWindow
The front-most window. Can return: Window, LayoutWindow or StoryWindow.
LiveDrawingOptions liveScreenDrawing
Delay before mouse operations trigger live screen drawing of page items.
PageItem selectionKeyObject
The key object of the selection. Can also accept: NothingEnum enumerator.
Document activeDocument
The front-most document.
String label
A property that can be set to any string.
Object properties
A property that allows setting of several properties at the same time.
Methods
Mixed performanceMetric( Mixed for )
Gets the current value of the specified performance metric.
Parameters
dumpFromMemoryMark( Number from )
Dumps memory allocations from the specified mark.
Parameters
dumpBetweenMemoryMarks( Number from, Number to )
Dumps memory allocations from all marks in the specified range.
Parameters
Mixed memoryStatistics()
Gets the memory statistics from the server.
String performanceMetricShortName( Mixed for )
Gets the short name of the specified performance metric.
Parameters
String performanceMetricLongName( Mixed for )
Gets the long name of the specified performance metric.
Parameters
String invokeColorPicker( ColorSpace space, Number colorValue )
Invokes InDesign's Color Picker.
Parameters
Boolean openCloudAssetForEdit( String jsondata )
Opens the cloud library asset for editing.
Parameters
setCloudLibraryOptions( Number maxwidth, Number maxheight )
Sets the export options for generation of a cloud asset.
Parameters
Boolean exportSelectionForCloudLibrary( File to )
Exports selection as assets required for cloud library.
Parameters
Boolean isUserSharingAppUsageData()
Whether user has opted-in to share usage data.
setCloudLibraryCollection( String librariesCollectionInfo )
Set cloud libraries info.
Parameters
String createTemporaryCopy( File from )
Creates a temporary copy of the file
Parameters
Boolean removeFileFromRecentFiles( File to )
Remove the file from most recently used files
Parameters
Boolean isAppInTouchMode()
Whether the app is in touch mode or not.
String getCCXUserJSONData( String jsondata )
Get a JSON string for the CCX Welcome dialog.
Parameters
Mixed getStyleConflictResolutionStrategy( StyleType charOrParaStyle )
Get the resolution strategy for style conflict, false if the user cancels
Parameters
openPanel( Number id )
Open the panel associated with the action.
Parameters
Mixed getUserChoiceForCloudTextAddition()
Gets the decision from the user to add the content of text frame or the complete story in case of threaded text frame.
unpackageUCF( File ucfFile, File destinationFolder )
Unpackage a UCF file into a folder structure.
Parameters
packageUCF( File sourceFolder, File ucfFile, String mimeMediaType )
Package a folder into a UCF file.
Parameters
PreflightProfile loadPreflightProfile( File from )
Load preflight profile from the specified file.
Parameters
String exportArticleFolio( File destination, Document portraitDocument, Document landscapeDocument, Mixed folioMetadata, Mixed miniFolioParams )
Export the specified documents to an article folio.
Note: This method behaves identically to @method(exportMiniFolio), but differs in its return value. @method(exportMiniFolio) returns an array of warning strings whereas this method returns an XML structure.
Parameters
String exportDpsArticle( File destination, Document document, Mixed dpsArticleParams )
Export the specified document to a DPS article. Note: This method behaves similarly to @method(exportMiniFolio), but differs in its parameters.
Parameters
String getDigpubArticleVersion( DigpubArticleVersion digpubArticleVersion )
Get the current digital publishing article version number for the given parameter.
Parameters
String getSupportedArticleViewerVersions()
Get the list of article viewer versions the digital publishing plugin supports.
String getDigpubVersion( DigpubVersion digpubVersion )
Get the current digital publishing version number for the given parameter.
Parameters
String getSupportedViewerVersions()
Get the list of viewer versions the digital publishing plugin supports.
String exportMiniFolio( File destination, Document portraitDocument, Document landscapeDocument, Mixed folioMetadata, Mixed miniFolioParams )
Export the specified documents to a mini-folio.
Parameters
exportFolioToPackage( File destination, Mixed miniFolioList, Mixed folioMetadata, Mixed exportFolioParams )
Export the selected documents to a compressed folio file that contains compressed mini folios.
Parameters
exportFolioToDirectory( File destination, Mixed miniFolioList, Mixed folioMetadata, Mixed exportFolioParams )
Export the selected documents to a directory.
Parameters
exportFolioToDirectoryPackage( File destination, Mixed miniFolioList, Mixed folioMetadata, Mixed exportFolioParams )
Export the selected documents to a compressed folio file that contains non-compressed mini folios.
Parameters
Mixed getAllOverlays( Document portraitDocumentForCheckingOverlays, Document landscapeDocumentForCheckingOverlays, Mixed miniFolioParams )
Get all overlays.
Parameters
createCustomMiniFolio( Mixed miniFolioDescription, File destination )
Create a mini-folio out of asset and overlay descriptions.
Schema for the mini folio description: || Key || Type || Required? || Description || | contentstackid | string | yes | The explicit ID to be used for this stack | | tocImage | file | no | The TOC image for the mini-folio | | narrowdimension | int | no | Targetted export size, measured along narrow dimension | | widedimension | int | no | Targetted export size, measured along wide dimension | | smoothscrolling | @enum(SmoothScrollingOptions) | no | The smooth scrolling behavior for this stack (default is noSmoothScroll) | | locationforgeneratedassets | file | no | If included, this is an existing directory where the generated assets should be created. | | overlays | array | no | see the SDK Overlay Builder APIs | | assets | array | yes | The assets for the mini - folio, described below. | | assetDependencies | array | no | Files that are needed by the asset, that will be included in the package but not the manifest. | | metadata | array | no | The metadata for the mini-folio described below. | | showprogressbar | boolean | no | Either true or false to indicate whether we should show a progress bar (default is false) | | targetviewerversion | string | no | If provided (in the form "major.minor.revision") a folio compatible with the viewer version is produced. If omitted, the latest folio format is produced. | CS5 |
The following are fields in the array for "assets": || Key || Type || Required? || Description || | file | file | yes | The asset file | | type | string | yes | The asset file type, either "web" for HTML or "image" for a raster | | width | int | yes | The asset width | | height | int | yes | The asset height | | orientation | string | yes | The asset orientation, either "portrait" or "landscape" | | thumbnail | file | no | A thumbnail of the asset to be used in browse mode | | scrubber | file | no | A thumbnail of the asset to be used in scrubber mode |
The following are fields in the array for "assetDependencies": || Key || Type || Required? || Description || | file | file | no | The dependent file | | relativePath | string | no | The relative path to the file, for use in the package |
The following are fields in the array for "metadata": || Key || Type || Required? || Description || | any string | string or boolean | no | any key/value where the key is a string, and the value is either a string or a boolean, such as those described in "export folio meta data" |
Parameters
deleteUnusedTags()
Deletes unused XML markup tags.
loadXMLTags( File from )
Loads a set of XML markup tags from the specified file.
Parameters
saveXMLTags( File to, String versionComments, Boolean forceSave )
Saves a set of tags to an external file.
Parameters
mountProject( String serverURL, String projectName )
Mount a Version Cue project.
Parameters
importStyles( ImportFormat format, File from, GlobalClashResolutionStrategy globalStrategy )
Imports the specified styles.
Parameters
exportStrokeStyles( File to, StrokeStyle strokeStyleList, String versionComments, Boolean forceSave )
Exports stroke styles or presets.
Parameters
Number findColor()
Finds color that matches the find what value.
Number changeColor()
Finds color that matches the find what value and replaces the color with the change to value.
Text findText( Boolean reverseOrder )
Finds text that matches the find what value.
Parameters
Text changeText( Boolean reverseOrder )
Finds text that matches the find what value and replaces the text with the change to value.
Parameters
Text findGrep( Boolean reverseOrder )
Finds text that matches the find what value.
Parameters
Text changeGrep( Boolean reverseOrder )
Finds text that matches the find what value and replaces the text with the change to value.
Parameters
Text findGlyph( Boolean reverseOrder )
Finds glyphs that match the find what value.
Parameters
Text changeGlyph( Boolean reverseOrder )
Finds glyphs that match the find what value and replaces the glyphs with the change to value.
Parameters
PageItem findObject( Boolean reverseOrder )
Finds objects that match the find what value.
Parameters
PageItem changeObject( Boolean reverseOrder )
Finds objects that match the find what value and replace the objects with the change to value.
Parameters
saveFindChangeQuery( String queryName, SearchModes searchMode )
Saves the specified find/change query.
Parameters
loadFindChangeQuery( String queryName, SearchModes searchMode )
Loads the specified find/change query.
Parameters
deleteFindChangeQuery( String queryName, SearchModes searchMode )
Deletes the specified find/change query.
Parameters
Text findTransliterate( Boolean reverseOrder )
Finds text that matches the find character type value.
Parameters
Text changeTransliterate( Boolean reverseOrder )
Finds text that matches the find character type value and replaces the text with the change character type value.
Parameters
print( Mixed from, Boolean printDialog, Mixed using )
Prints the specified file(s).
Parameters
exportPresets( ExportPresetFormat format, File to, String versionComments, Boolean forceSave )
Export the presets to a file.
Parameters
importFile( ExportPresetFormat format, File from )
Imports presets from the specified file.
Parameters
place( Mixed fileName, Boolean showingOptions, Object withProperties )
Place one or more files following the behavior of the place menu item. This may load the place gun or replace the selected object, depending on current preferences.
Parameters
clearFrameFittingOptions()
Removes the frame fittings options and resets it to the initial state.
updateFonts()
Forces a check for new fonts in the various Fonts folders.
MotionPreset loadMotionPreset( File from )
Load motion preset from the specified file.
Parameters
cut()
Cuts the selection in the active document window and stores it in the clipboard.
copy()
Copies the selection in the active document window to the clipboard.
paste()
Pastes data from the clipboard into the active document window.
pasteInto()
Pastes data from the clipboard into the selected object in the active document window.
pasteInPlace()
Pastes data from the clipboard into the active document window at the same position that the data held in its original document.
Number getUntitledCount()
Gets the count which will be used in the name of the next untitled document.
setUntitledCount( Number untitledCount )
Sets the count which will be used in the name of the next untitled document.
Parameters
Number colorTransform( Number colorValue, ColorSpace sourceColorSpace, ColorSpace destinationColorSpace )
Transforms color values
Parameters
pasteWithoutFormatting()
Pastes data (minus formatting) from the clipboard into the active document window.
loadSwatches( File from )
Load swatches from the specified file.
Parameters
saveSwatches( File to, Swatch swatchList, String versionComments, Boolean forceSave )
Saves the specified swatch(es) to a swatchbook file.
Parameters
Color importAdobeSwatchbookSpotColor( String name )
Imports a spot color swatch from an Adobe color book.
Parameters
Color importAdobeSwatchbookProcessColor( String name )
Imports a process color swatch from a preloaded Adobe color book.
Parameters
loadConditions( File from, Boolean loadConditionSets )
Load conditions from the specified file.
Parameters
select( Mixed selectableItems, SelectionOptions existingSelection )
Selects the specified object(s).
Parameters
applyShortcutSet( String name )
Applies the specified shortcut set file. No string will apply the default shortcut set.
Parameters
applyWorkspace( String name )
Applies the specified workspace.
Parameters
applyMenuCustomization( String name )
Applies the specified menu customization set. An empty string will reset all menus and colorization (Show Full Menus). No string will apply the default menu set.
Parameters
togglePanelSystemVisibility()
Toggles the visibility of the entire panel system.
Mixed open( Mixed from, Boolean showingWindow, OpenOptions openOption )
Opens the specified document, book, or library.
Parameters
quit( SaveOptions saving )
Quits the application.
Parameters
any doScript( Mixed script, ScriptLanguage language, any withArguments, UndoModes undoMode, String undoName )
Executes the script in the specified language as a single transaction.
Parameters
activate()
Makes the application the front-most or active window.
cascadeWindows()
Cascades all document windows.
String internalMethod( String internalParameter1, String internalParameter2 )
Internal use only: a black box method for use by InDesign Engineering team only.
Parameters
Boolean deleteCloudDocument( String assetReference )
Delete cloud document for a given reference.
Parameters
Document openCloudDocument( String assetReference, Boolean showingWindow )
Open cloud document for a given reference.
Parameters
insertLabel( String key, String value )
Sets the label to the value associated with the specified key.
Parameters
String extractLabel( String key )
Gets the label value associated with the specified key.
Parameters
String findKeyStrings( String for )
Returns the locale-independent string(s) from the internal string localization database that correspond to the specified string (in the current locale).
Parameters
String translateKeyString( String for )
Translates a key string into localized form based on current application locale.
Parameters
undo()
Undoes the last action.
redo()
Redoes the last action.
tileWindows()
Tile all document windows
generateIDMLSchema( File to, Boolean packageFormat )
Generate schema for IDML.
Parameters
cancelAllTasks()
Cancels all the background tasks.
TaskState waitForAllTasks()
Waits for all the background tasks to finish.
setApplicationPreferences( Mixed applicationPreferences )
Sets the application's preferences.
Parameters
String toSource()
Generates a string which, if executed, will return the Application.
Application getElements()
Resolves the object specifier, creating an array of object references.
String toSpecifier()
Retrieves the object specifier.
EventListener addEventListener( String eventType, Mixed handler, Boolean captures )
Adds an event listener.
Parameters
Boolean removeEventListener( String eventType, Mixed handler, Boolean captures )
Removes the event listener.