Adobe InCopy CS6 (8.0) Object Model JS: Preferences

InCopy CS6

Class

Preferences

 A collection of preferences objects.

See also Preference.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Preference [] (index: number)
Returns the Preference with the specified index.

ParameterTypeDescription
indexnumberThe index.

Preference anyItem ()
Returns any Preference in the collection.

number count ()
Displays the number of elements in the Preference.

Array of Preference everyItem ()
Returns every Preference in the collection.

Preference firstItem ()
Returns the first Preference in the collection.

Preference item (index: varies)
Returns the Preference with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

Array of Preference itemByRange (from: varies, to: varies)
Returns the Preferences within the specified range.

ParameterTypeDescription
fromLong Integer
Preference
String
The Preference, index, or name at the beginning of the range. Can accept: Preference, Long Integer or String.
toLong Integer
Preference
String
The Preference, index, or name at the end of the range. Can accept: Preference, Long Integer or String.

Preference lastItem ()
Returns the last Preference in the collection.

Preference middleItem ()
Returns the middle Preference in the collection.

Preference nextItem (obj: Preference)
Returns the Preference whose index follows the specified Preference in the collection.

ParameterTypeDescription
objPreferenceThe Preference whose index comes before the desired Preference.

Preference previousItem (obj: Preference)
Returns the Preference with the index previous to the specified index.

ParameterTypeDescription
objPreferenceThe index of the Preference that follows the desired Preference.

string toSource ()
Generates a string which, if executed, will return the Preference.

Element of

Application.preferences

Button.preferences

ChangeGrepPreference.preferences

ChangeTextPreference.preferences

ChangeTransliteratePreference.preferences

Character.preferences

CheckBox.preferences

ComboBox.preferences

Document.preferences

EPS.preferences

EPSText.preferences

FindGrepPreference.preferences

FindTextPreference.preferences

FindTransliteratePreference.preferences

FormField.preferences

Graphic.preferences

GraphicLine.preferences

Group.preferences

HtmlItem.preferences

Image.preferences

ImportedPage.preferences

InsertionPoint.preferences

Line.preferences

Link.preferences

ListBox.preferences

MediaItem.preferences

Movie.preferences

MultiStateObject.preferences

Oval.preferences

PDF.preferences

PICT.preferences

Page.preferences

PageItem.preferences

Paragraph.preferences

ParagraphStyle.preferences

Polygon.preferences

RadioButton.preferences

Rectangle.preferences

SignatureField.preferences

Sound.preferences

SplineItem.preferences

Story.preferences

Text.preferences

TextBox.preferences

TextColumn.preferences

TextDefault.preferences

TextFrame.preferences

TextStyleRange.preferences

TextVariable.preferences

TextWrapPreference.preferences

WMF.preferences

Word.preferences

XmlStory.preferences

Jongware, 29-Apr-2012 v3.0.3iContents :: Index