TextPreference

Text preferences.

Methods:

getElements, toSource, toSpecifier

Objects:

Boolean, Number, Object, String

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

String

read/write

The amount that the baseline shift increases each time the user presses the option/alt-shift-up arrow keys or decreases each time the user presses the option/alt-shift-down arrow keys. (Range: .001 to 100)

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 (range 1 - 100)

read/write

The amount the kerning value per 1000 ems increases each time the user presses of the option/alt-right arrow keys or decreases each time the user presses the option/alt-left arrow keys. (Range: 1 to 100)

leadingKeyIncrement

Number

String

read/write

The amount that leading increases each time the user presses the option/alt-up arrow keys or decreases each time the user presses the option/alt-down arrow keys. (Range: .001 to 100)

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 (range 1 - 200)

read/write

The size of text formatted as small caps, specified as a percentage of the font size. (Range: 1 to 200)

subscriptPosition

Number (range -500 - 500)

read/write

The position of subscript characters, specified as a percentage of the regular leading. (Range: -500 to 500)

subscriptSize

Number (range 1 - 200)

read/write

The size of subscript characters, specified as a percentage of the font size. (Range: 0 to 200)

superscriptPosition

Number (range -500 - 500)

read/write

The position of superscript characters, specified as a percentage of the regular leading. (Range: -500 to 500)

superscriptSize

Number (range 1 - 200)

read/write

The size of superscript characters, specified as a percentage of the font size. (Range: 0 to 200)

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.

Method Listing

Object getElements ()

Resolves the object specifier, creating an array of object references.

String toSource ()

Generates a string which, if executed, will return the TextPreference.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.textPreferences

Document.textPreferences