application

The application.

Element

auto correct table
book
cell style
cell style group
character style
character style group
color
dashed stroke style
dialog
display setting
document
document preset
dotted stroke style
event
event listener
flattener preset
font
gradient
indexing sort option
ink
language with vendors
layout window
library
menu
menu action
mixed ink
mixed ink group
numbering list
object style
object style group
panel
paragraph style
paragraph style group
PDF export preset
printer preset
script menu action
story window
striped stroke style
stroke style
swatch
table style
table style group
text variable
tint
transformation matrix
trap preset
user dictionary
window
XML export map
XML import map
XML rule processor
XML tag

application Properties

Property Type Access Description
active book book r/w Current active book
active document document r/w The front-most document.
active script alias or string read The current script running from the scripts panel.
active window reference r/w The front-most window. Can return: window, layout window or story window.
align distribute preferences align distribute preference read Preferences for alignment and distribution.
all cell styles List of cell style read All Cell styles
all character styles List of character style read Lists all character styles (regardless of their group).
all object styles List of object style read All object styles contained by the application.
all paragraph styles List of paragraph style read Lists all paragraph styles (regardless of their group).
all table styles List of table style read All Table styles
anchored object defaults anchored object default read Anchored object default settings.
anchored object settings anchored object setting read Anchored object settings.
auto correct preferences auto correct preference read Auto-correct preferences.
baseline frame grid options baseline frame grid option read Baseline frame grid option settings.
button preferences button preference read Button preference settings.
change glyph preferences change glyph preference r/w Change glyph preferences. Can also accept: nothing.
change grep preferences change grep preference r/w Change grep preferences. Can also accept: nothing.
change object preferences change object preference r/w Change object preferences. Can also accept: nothing.
change text preferences change text preference r/w Change text preferences. Can also accept: nothing.
class type class read The class descriptor type.
clear overrides when applying style boolean r/w Clear overrides first before applying object style
clipboard preferences clipboard preference read Clipboard preference properties that define the way that the application interacts with the system clipboard.
color settings color setting read Color setting properties that define color management defaults.
data merge options data merge option read The data merge option properties that define the data merge.
dictionary preferences dictionary preference read User dictionary preference settings.
display performance preferences display performance preference read Display performance settings.
document preferences document preference read Document preference settings.
EPS export preferences EPS export preference read EPS export preferences.
EPS import preferences EPS import preference read EPS import preference settings.
excel import preferences excel import preference read Excel import preferences.
export for web preferences export for web preference read The default export for web preferences.
feature set roman,
japanese,
read The feature set.
file path alias or string read The full path to the file.
find change glyph options find change glyph option r/w Find/change glyph options. Can also accept: nothing.
find change grep options find change grep option r/w Find/change grep options. Can also accept: nothing.
find change object options find change object option r/w Find/change object options. Can also accept: nothing.
find change text options find change text option r/w Find/change text options. Can also accept: nothing.
find glyph preferences find glyph preference r/w Find glyph preferences. Can also accept: nothing.
find grep preferences find grep preference r/w Find grep preferences. Can also accept: nothing.
find object preferences find object preference r/w Find object preferences. Can also accept: nothing.
find text preferences find text preference r/w Find text preferences. Can also accept: nothing.
footnote options footnote option read Footnote option settings.
frame fitting options frame fitting option read 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.
full name alias or string read The full path to the application, including the name of the application.
galley preferences galley preference read Galley preference settings.
general preferences general preference read General preference settings.
grabber preferences grabber preference read Grabber preference properties that define display performance quality during scrolling.
grid preferences grid preference read Grid preference settings.
guide preferences guide preference read Guide preference settings.
image IO preferences image IO preference read The image I/O preference properties that define preferences for importing images.
image preferences image preference read Image preferences.
IME preferences IME preference read IME preference settings.
imported page attributes imported page attribute read Placed InDesign document page attributes.
InCopy export options InCopy export option read Export options for InCopy INCX document format
index generation options index options read The index options properties that define how an index is formatted.
JPEG export preferences JPEG export preference read JPEG export preferences.
label string r/w A property that can be set to any string.
layout adjustment preferences layout adjustment preference read Layout sdjustment preference settings.
locale danish locale,
english locale,
international english locale,
finnish locale,
french locale,
german locale,
italian locale,
portuguese locale,
spanish locale,
swedish locale,
japanese locale,
arabic locale,
czech locale,
greek locale,
hebrew locale,
hungarian locale,
polish locale,
romanian locale,
russian locale,
turkish locale,
ukrainian locale,
read The locale to use for language, time zone, and so on.
margin preferences margin preference read Margin preference settings.
modal state boolean read If true, a modal dialog or alert is active.
name string read The name of the application.
note preferences note preference read Note preference settings.
object reference reference read An object reference for the application.
page item defaults page item default read The default page item formatting for the application.
parent reference read The parent of the application (a application).
pasteboard preferences pasteboard preference read Pasteboard preference settings.
PDF export preferences PDF export preference read A collection of PDF export preferences.
PDF place preferences PDF place preference read The PDF place preference properties that define how PDF files are placed in the current document.
placeable file extensions List of string read Lists the extensions of file types that can be placed.
placeable file types List of string read Lists the types of files that can be placed.
polygon preferences polygon preference read Polygon preference properties to use to define default settings for creating a polygon.
properties record r/w A property that allows setting of several properties at the same time.
redo history List of string read The names of the items in the redo stack.
redo name string read The name of the action on the top of the redo stack.
script args script arg read Arguments to pass to a script.
script preferences script preference read Script preferences.
selection List of reference r/w The selected object(s). Can also accept: object or nothing.
spell preferences spell preference read Spell-check preferences.
story export preferences story export preference read Story export preference settings.
story preferences story preference read Story preference settings.
SVG export preferences SVG export preference read SVG export preferences.
tagged text export preferences tagged text export preference read Tagged text export preferences.
tagged text import preferences tagged text import preference read Tagged text import preferences.
text defaults text default read Text default settings.
text editing preferences text editing preference read Text editing preference settings.
text export preferences text export preference read Text export preferences.
text frame preferences text frame preference read Text frame preference settings.
text import preferences text import preference read Text import preferences.
text preferences text preference read Text preference settings.
transform preferences transform preference read Transform preference properties that define default behaviors when transforming objects. Note: Transforming includes rotation, scaling, flipping, and shearing.
transparency preferences transparency preference read Transparency preference settings.
undo history List of string read The names of the items in the undo stack.
undo name string read The name of the action on the top of the undo stack.
unused swatches List of swatch read The swatches that are not being used.
user color anything 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: list of 3 fixed (0 – 255) or c…
user name string r/w The user associated with the tracked changes and notes.
version string read The application version.
view preferences view preference read View preference settings.
visible boolean read If true, the application is visible.
word RTF import preferences word RTF import preference read Word and RTF import preferences.
XML export preferences XML export preference read XML export preference settings.
XML import preferences XML import preference read XML import preference settings.
XML preferences XML preference read The XML preference settings.
XML view preferences XML view preference read XML view preference settings.

Leave a Comment

Previous post:

Next post: