TextPreference

Text preferences.

Objects:

Boolean, Number, Object

Property Listing

Property

Type

Access

Description

abutTextToTextWrap

Boolean

read/write

If true, moves wrapped text to the next available leading increment below the text wrap objects (skip by leading).

baselineShiftKeyIncrement

Number

read/write

The amount of baseline shift each press of the shift-option/alt-up arrow or shift-option/alt-down arrow increases or decreases

highlightCustomSpacing

Boolean

read/write

If true, highlights custom kerned or tracked characters.

highlightHjViolations

Boolean

read/write

If true, highlights hyphenation and justification rule violations in the text.

highlightKeeps

Boolean

read/write

If true, highlights paragraphs that violate keep options.

highlightSubstitutedFonts

Boolean

read/write

If true, highlights missing fonts.

highlightSubstitutedGlyphs

Boolean

read/write

If true, highlights substituted glyphs.

justifyTextWraps

Boolean

read/write

If true, justifies text around text wrap objects.

kerningKeyIncrement

Number

read/write

The amount of kerning each press of the option/alt-right arrow or option/alt-left arrow increases or decreases

leadingKeyIncrement

Number

read/write

The amount of leading each press of the option/alt-up arrow or option/alt-down arrow increases or decreases

linkTextFilesWhenImporting

Boolean

read/write

If true, links placed text files and spreadsheet files. If false, embeds the files.

parent

Application

Document

readonly

The parent of the TextPreference (a Application or Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

scalingAdjustsText

Boolean

read/write

If true, scaling the text frame adjusts text attributes as well as text size and resets frame scaling to 100%. If false, scaling the text frame does not adjust text attributes even though the text size changes and does not reset frame scaling.

showInvisibles

Boolean

read/write

If true, shows hidden characters.

smallCap

Number

read/write

The percentage of the font size for text formatted as small caps

subscriptPosition

Number

read/write

The percentage of the leading that the subscripted text will move

subscriptSize

Number

read/write

The percentage of the font size for subscripted text

superscriptPosition

Number

read/write

The percentage of the leading that the superscripted text will move

superscriptSize

Number

read/write

The percentage of the font size for superscripted text

typographersQuotes

Boolean

read/write

If true, converts straight quotes to typographic quotes.

useOpticalSize

Boolean

read/write

If true, automatically selects the correct optical size.

useParagraphLeading

Boolean

read/write

If true, applies the leading changes made to a text range to the entire paragraph. If false, applies leading changes only to the text range.

zOrderTextWrap

Boolean

read/write

If true, text wrap does not affect text on layers above the layer that contains the text wrap object. If false, text wrap affects text on all visible layers.

Object of

Application.textPreferences

Document.textPreferences