The application.
Go to Property Listing | Method Listing
activate, cascadeWindows, copy, cut, deleteUnusedTags, doScript, exportPresets, getElements, importAdobeSwatchbookProcessColor, importAdobeSwatchbookSpotColor, importCellStyles, importFile, importStyles, importTableStyles, loadSwatches, loadXMLTags, open, paste, pasteInPlace, pasteInto, pasteWithoutFormatting, place, print, quit, redo, saveSwatches, saveXMLTags, search, select, tileWindows, toSource, toSpecifier, undo, updateFonts
AnchoredObjectDefault, AnchoredObjectSetting, AutoCorrectPreference, AutoCorrectTables, BaselineFrameGridOption, Books, Boolean, ButtonPreference, CellStyles, ChangePreference, CharacterStyles, ClipboardPreference, ColorSetting, Colors, DashedStrokeStyles, DataMergeOption, Dialogs, DictionaryPreference, DisplayPerformancePreference, DisplaySettings, Document, DocumentPreference, DocumentPresets, Documents, DottedStrokeStyles, EPSExportPreference, EPSImportPreference, ExcelImportPreference, FeatureSetOptions, File, FindPreference, FlattenerPresets, Fonts, FootnoteOption, GalleyPreference, GeneralPreference, GrabberPreference, Gradients, GridPreference, GuidePreference, IMEPreference, ImageIOPreference, InCopyUIColors, IndexOptions, Inks, JPEGExportPreference, LanguagesWithVendors, LayoutAdjustmentPreference, LayoutWindow, LayoutWindows, Libraries, Locale, MarginPreference, MixedInkGroups, MixedInks, NotePreference, NothingEnum, Object, ObjectStyles, PDFExportPreference, PDFExportPresets, PDFPlacePreference, ParagraphStyles, PasteboardPreference, PolygonPreference, PrinterPresets, SVGExportPreference, ScriptArg, ScriptPreference, SpellPreference, StoryExportPreference, StoryPreference, StoryWindow, StoryWindows, String, StripedStrokeStyles, StrokeStyles, Swatch, Swatches, TableStyles, TaggedTextExportPreference, TaggedTextImportPreference, TextDefault, TextEditingPreference, TextExportPreference, TextFramePreference, TextImportPreference, TextPreference, Tints, TransformPreference, TransparencyPreference, TrapPresets, UserDictionaries, ViewPreference, Window, Windows, WordRTFImportPreference, XMLExportMaps, XMLExportPreference, XMLImportMaps, XMLImportPreference, XMLPreference, XMLTags, XMLViewPreference
AutoCorrectPreference, BaselineFrameGridOption, ButtonPreference, ChangePreference, ClipboardPreference, DataMergeOption, DictionaryPreference, DisplayPerformancePreference, DocumentPreference, EPSExportPreference, EPSImportPreference, ExcelImportPreference, FindPreference, FootnoteOption, GalleyPreference, GeneralPreference, GrabberPreference, GridPreference, GuidePreference, IMEPreference, ImageIOPreference, IndexOptions, JPEGExportPreference, LayoutAdjustmentPreference, MarginPreference, NotePreference, NothingEnum, PDFExportPreference, PDFPlacePreference, PasteboardPreference, PolygonPreference, SVGExportPreference, ScriptPreference, SpellPreference, StoryExportPreference, StoryPreference, TaggedTextExportPreference, TaggedTextImportPreference, TextEditingPreference, TextExportPreference, TextFramePreference, TextImportPreference, TextPreference, TransformPreference, TransparencyPreference, ViewPreference, WordRTFImportPreference, XMLExportPreference, XMLImportPreference, XMLPreference, XMLViewPreference
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
The front-most document. |
||
|
readonly |
The current script running from the Scripts panel. |
||
|
read/write |
The front-most window. Can return: Window, LayoutWindow or StoryWindow. |
||
|
readonly |
Anchored object default settings. |
||
|
readonly |
Anchored object settings. |
||
|
readonly |
Auto-correct preferences. |
||
|
readonly |
A collection of auto-correct tables. |
||
|
readonly |
Baseline frame grid option settings. |
||
|
readonly |
A collection of books. |
||
|
readonly |
Button preference settings. |
||
|
readonly |
All cell styles |
||
|
read/write |
The change preference properties that define the default text or attributes to which to change found text or attributes. Can also accept: NothingEnum enumerator. |
||
|
readonly |
A collection of character styles. |
||
|
readonly |
Clipboard preference properties that define the way that the application interacts with the system clipboard. |
||
|
readonly |
Color setting properties that define color management defaults. |
||
|
readonly |
A collection of colors. |
||
|
readonly |
A collection of dashed stroke styles. |
||
|
readonly |
The data merge option properties that define the data merge. |
||
|
readonly |
A collection of dialogs. |
||
|
readonly |
User dictionary preference settings. |
||
|
readonly |
Display performance settings. |
||
|
readonly |
Display setting properties. |
||
|
readonly |
Document preference settings. |
||
|
readonly |
A collection of document presets. |
||
|
readonly |
A collection of documents. |
||
|
readonly |
A collection of dotted stroke styles. |
||
|
readonly |
EPS export preferences. |
||
|
readonly |
EPS import preferences. |
||
|
readonly |
Excel import preferences. |
||
|
readonly |
The feature set. |
||
|
readonly |
The full path to the file. |
||
|
read/write |
The find preference properties that define default text or attribute searches. Can also accept: NothingEnum enumerator. |
||
|
readonly |
A collection of transparency flattener presets. |
||
|
readonly |
A collection of fonts. |
||
|
readonly |
Footnote option settings. |
||
|
readonly |
The full path to the Application, including the name of the Application. |
||
|
readonly |
Galley preference settings. |
||
|
readonly |
General preference settings. |
||
|
readonly |
Grabber preference properties that define display performance quality during scrolling. |
||
|
readonly |
A collection of gradients. |
||
|
readonly |
Grid preference settings. |
||
|
readonly |
Guide preference settings. |
||
|
readonly |
The image I/O preference properties that define preferences for importing images. |
||
|
readonly |
IME preference settings. |
||
|
readonly |
The index options properties that define how an index is formatted. |
||
|
readonly |
A collection of inks. |
||
|
readonly |
JPEG export preferences. |
||
|
readonly |
A collection of languages with vendors. |
||
|
readonly |
Layout sdjustment preference settings. |
||
|
readonly |
A collection of layout windows. |
||
|
readonly |
A collection of object libraries. |
||
|
readonly |
The locale of the application. |
||
|
readonly |
Margin preference settings. |
||
|
readonly |
A collection of mixed ink groups. |
||
|
readonly |
A collection of mixed inks. |
||
|
readonly |
If true, a modal dialog or alert is active. |
||
|
readonly |
The name of the Application. |
||
|
readonly |
Note preference settings. |
||
|
readonly |
A collection of object styles. |
||
|
read/write |
If true, displays the palettes. |
||
|
readonly |
A collection of paragraph styles. |
||
|
readonly |
The parent of the Application (a Application). |
||
|
readonly |
Pasteboard preference settings. |
||
|
readonly |
A collection of PDF export preferences. |
||
|
readonly |
A collection of PDF export presets. |
||
|
readonly |
The PDF place preference properties that define how PDF files are placed in the current document. |
||
|
readonly |
Lists the extensions of file types that can be placed. |
||
|
readonly |
Lists the types of files that can be placed. |
||
|
readonly |
Polygon preference properties to use to define default settings for creating a polygon. |
||
|
readonly |
A collection of printer presets. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
The names of the items in the redo stack. |
||
|
readonly |
The name of the action on the top of the redo stack. |
||
|
readonly |
Arguments to pass to a script. |
||
|
readonly |
Script preferences. |
||
|
Array of Objects |
read/write |
The selection. Can return: Object, Array of Objects or NothingEnum enumerator. |
|
|
readonly |
Spell-check preferences. |
||
|
readonly |
Story export preference settings. |
||
|
readonly |
Story preference settings. |
||
|
readonly |
A collection of story windows. |
||
|
readonly |
A collection of striped stroke styles. |
||
|
readonly |
A collection of stroke styles. |
||
|
readonly |
SVG export preferences. |
||
|
readonly |
A collection of swatches. |
||
|
readonly |
All table styles |
||
|
readonly |
Tagged text export preferences. |
||
|
readonly |
Tagged text import preferences. |
||
|
readonly |
Text default settings. |
||
|
readonly |
Text editing preference settings. |
||
|
readonly |
Text export preferences. |
||
|
readonly |
Text frame preference settings. |
||
|
readonly |
Text import preferences. |
||
|
readonly |
Text preference settings. |
||
|
readonly |
A collection of tints. |
||
|
readonly |
Transform preference properties that define default behaviors when transforming objects. Note: Transforming includes rotation, scaling, flipping, and shearing. |
||
|
readonly |
Transparency preference settings. |
||
|
readonly |
A collection of trap presets. |
||
|
readonly |
The names of the items in the undo stack. |
||
|
readonly |
The name of the action on the top of the undo stack. |
||
|
readonly |
The swatches that are not being used. |
||
|
Array of 3 Reals (0 - 255) |
read/write |
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. |
|
|
readonly |
A collection of user dictionaries. |
||
|
read/write |
The user associated with the tracked changes and notes. |
||
|
readonly |
The application version. |
||
|
readonly |
View preference settings. |
||
|
readonly |
If true, the Application is visible. |
||
|
readonly |
A collection of windows. |
||
|
readonly |
Word and RTF import preferences. |
||
|
readonly |
A collection of XML export maps. |
||
|
readonly |
XML export preference settings. |
||
|
readonly |
A collection of XML import maps. |
||
|
readonly |
XML import preference settings. |
||
|
readonly |
The XML preference settings. |
||
|
readonly |
A collection of XML tags. |
||
|
readonly |
XML view preference settings. |
undefined activate ()
Makes the application the front-most or active window.
undefined cascadeWindows ()
Cascades all document windows.
undefined copy ()
Copies the selection in the active document window to the clipboard.
undefined cut ()
Cuts the selection in the active document window and stores it in the clipboard.
undefined deleteUnusedTags ()
Deletes unused XML markup tags.
Varies doScript (script:Varies File String, [language:ScriptLanguage=ScriptLanguage])
Runs a script in a specified language.
|
Parameter |
Type |
Description |
|---|---|---|
|
script |
The script. Can accept: File or String. |
|
|
language |
The language of the script. Note: If not specified, uses the language used to call this method. (Optional) (default: ScriptLanguage.UNKNOWN) |
undefined exportPresets (format:ExportPresetFormat, to:File)
Export the file's presets to the specified file.
|
Parameter |
Type |
Description |
|---|---|---|
|
format |
The type of preset to export. |
|
|
to |
The file to export the presets to. |
Object 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 |
The process color to load. |
Color importAdobeSwatchbookSpotColor (name:String)
Imports a spot color swatch from an Adobe color book.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The spot color to load. |
undefined importCellStyles (from:File, replaceOption:ReplaceOption)
Used to load cell styles from another document
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
The file to load styles from |
|
|
replaceOption |
overwrite, or rename |
undefined importFile (format:ExportPresetFormat, from:File)
Imports presets from the specified file.
|
Parameter |
Type |
Description |
|---|---|---|
|
format |
The type of preset to import. |
|
|
from |
The file to import presets from. |
undefined importStyles (format:ImportFormat, from:File, [globalStrategy:GlobalClashResolutionStrategy=GlobalClashResolutionStrategy])
Imports the specified styles.
|
Parameter |
Type |
Description |
|---|---|---|
|
format |
The types of styles to import. |
|
|
from |
The file containing the styles you want to import. |
|
|
globalStrategy |
The resolution strategy to employ for imported styles that have the same names as existing styles. (Optional) (default: GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE) |
undefined importTableStyles (from:File, replaceOption:ReplaceOption)
Used to load table styles from another document
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
The file to load styles from |
|
|
replaceOption |
overwrite, or rename |
undefined loadSwatches (from:File)
Load swatches from the specified file.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
The swatch file or InDesign document. |
undefined loadXMLTags (from:File)
Loads a set of XML markup tags from the specified file.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
The path to the file that contains the tags. |
Varies open (from:Array of Varies File Files., [showingWindow:Boolean=Boolean])
Opens the specified document, book, or library.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Array of Files. |
The file path(s) to the document, book, or library. Can accept: File or Array of Files. |
|
showingWindow |
If true, opens the document in a window. If false, the document is opened but is not displayed in a window. (Optional) (default: true) |
undefined paste ()
Pastes data from the clipboard into the active document window.
undefined pasteInPlace ()
Pastes data from the clipboard into the active document window at the same position that the data held in its original document.
undefined pasteInto ()
Pastes data from the clipboard into the selected object in the active document window.
undefined pasteWithoutFormatting ()
Pastes data (minus formatting) from the clipboard into the active document window.
undefined place (fileName:File, [showingOptions:Boolean=Boolean], withProperties:Object)
Place a file following the behavior of the place menu item
|
Parameter |
Type |
Description |
|---|---|---|
|
fileName |
The file to place |
|
|
showingOptions |
Whether to display the import options dialog (Optional) (default: false) |
|
|
withProperties |
Initial values for properties of the placed object(s) (Optional) |
undefined print (from:Array of Varies File Files., printDialog:Boolean, using:Varies PrinterPresetTypes PrinterPreset)
Prints the specified file(s).
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Array of Files. |
One or more file paths. Can accept: File or Array of Files. |
|
printDialog |
Whether to invoke the print dialog (Optional) |
|
|
using |
Printer preset to use. Can accept: PrinterPresetTypes enumerator or PrinterPreset. (Optional) |
undefined quit ([saving:SaveOptions=SaveOptions])
Quits the application.
|
Parameter |
Type |
Description |
|---|---|---|
|
saving |
The option to use for saving changes to open documents before quitting. (Optional) (default: SaveOptions.ASK) |
undefined redo ()
Redoes the last action.
undefined saveSwatches (to:File, swatchList:Array of Swatch)
Saves the specified swatches to a file.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The swatch file. Note: The format must be either .ase (Adobe Swatches Exchange) or a format native to the application that will use the file. |
|
|
swatchList |
The swatches to save. |
undefined saveXMLTags (to:File)
Saves the XML markup tags as an XML file.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The name and location of the XML file. |
Text search (for:String, wholeWord:Boolean, caseSensitive:Boolean, replacingWith:String, withFindAttributes:Object, withChangeAttributes:Object)
Look for occurrences of text that matches specific criteria
|
Parameter |
Type |
Description |
|---|---|---|
|
for |
What to look for (Optional) |
|
|
wholeWord |
If true, then disregard text embedded within a larger word (Optional) |
|
|
caseSensitive |
If true, then search only for text that matches case (Optional) |
|
|
replacingWith |
What to replace the found text with, either a string or a special character (Optional) |
|
|
withFindAttributes |
A record of find preference settings to use (Optional) |
|
|
withChangeAttributes |
A record of change preference settings to use (Optional) |
undefined select (selectableItems:Array of Varies Objects NothingEnum Object SelectAll, [existingSelection:SelectionOptions=SelectionOptions])
Selects the specified object(s).
|
Parameter |
Type |
Description |
|---|---|---|
|
selectableItems |
Array of Objects |
The objects to select. Can accept: Object, Array of Objects, NothingEnum enumerator or SelectAll enumerator. |
|
existingSelection |
The selection status of the Application in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
undefined tileWindows ()
Tiles all document windows.
String toSource ()
Generates a string which, if executed, will return the Application.
String toSpecifier ()
Retrieves the object specifier.
undefined undo ()
Undoes the last action.
undefined updateFonts ()
Forces a check for new fonts in the various Fonts folders.
global.app
AnchoredObjectDefault.parent
AnchoredObjectSetting.parent
Application.parent
AutoCorrectPreference.parent
AutoCorrectTable.parent
BaselineFrameGridOption.parent
Book.parent
ButtonPreference.parent
CellStyle.parent
ChangePreference.parent
CharacterStyle.parent
ClipboardPreference.parent
Color.parent
ColorSetting.parent
DashedStrokeStyle.parent
DataMergeOption.parent
Dialog.parent
DictionaryPreference.parent
DisplayPerformancePreference.parent
DisplaySetting.parent
Document.parent
DocumentPreference.parent
DocumentPreset.parent
DottedStrokeStyle.parent
EPSExportPreference.parent
EPSImportPreference.parent
ExcelImportPreference.parent
FindPreference.parent
FlattenerPreset.parent
Font.parent
FootnoteOption.parent
GalleyPreference.parent
GeneralPreference.parent
GrabberPreference.parent
Gradient.parent
GridPreference.parent
GuidePreference.parent
IMEPreference.parent
ImageIOPreference.parent
IndexOptions.parent
Ink.parent
JPEGExportPreference.parent
LanguageWithVendors.parent
LayoutAdjustmentPreference.parent
LayoutWindow.parent
Library.parent
MarginPreference.parent
MixedInk.parent
MixedInkGroup.parent
NotePreference.parent
ObjectStyle.parent
PDFExportPreference.parent
PDFExportPreset.parent
PDFPlacePreference.parent
ParagraphStyle.parent
PasteboardPreference.parent
PolygonPreference.parent
PrinterPreset.parent
SVGExportPreference.parent
ScriptArg.parent
ScriptPreference.parent
SpellPreference.parent
StoryExportPreference.parent
StoryPreference.parent
StoryWindow.parent
StripedStrokeStyle.parent
StrokeStyle.parent
Swatch.parent
TableStyle.parent
TaggedTextExportPreference.parent
TaggedTextImportPreference.parent
TextDefault.parent
TextEditingPreference.parent
TextExportPreference.parent
TextFramePreference.parent
TextImportPreference.parent
TextPreference.parent
Tint.parent
TransformPreference.parent
TransparencyPreference.parent
TrapPreset.parent
UserDictionary.parent
ViewPreference.parent
Window.parent
WordRTFImportPreference.parent
XMLExportMap.parent
XMLExportPreference.parent
XMLImportMap.parent
XMLImportPreference.parent
XMLPreference.parent
XMLTag.parent
XMLViewPreference.parent