Conditions
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Condition [] (index:
number)
Returns the Condition with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Condition add ([withProperties:
Object])
Creates a new Condition.
Parameter | Type | Description |
---|---|---|
withProperties | Object | Initial values for properties of the new Condition (Optional) |
Condition anyItem ()
Returns any Condition in the collection.
number count ()
Displays the number of elements in the Condition.
Array
of Condition everyItem ()
Returns every Condition in the collection.
Condition firstItem ()
Returns the first Condition in the collection.
Condition item (index:
varies)
Returns the Condition with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Condition itemByID (id:
number)
Returns the Condition with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
Condition itemByName (name:
string)
Returns the Condition with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of Condition itemByRange (from:
varies, to:
varies)
Returns the Conditions within the specified range.
Parameter | Type | Description |
---|---|---|
from | Condition Long Integer String | The Condition, index, or name at the beginning of the range. Can accept: Condition, Long Integer or String. |
to | Condition Long Integer String | The Condition, index, or name at the end of the range. Can accept: Condition, Long Integer or String. |
Condition lastItem ()
Returns the last Condition in the collection.
Condition middleItem ()
Returns the middle Condition in the collection.
Condition nextItem (obj:
Condition)
Returns the Condition whose index follows the specified Condition in the collection.
Parameter | Type | Description |
---|---|---|
obj | Condition | The Condition whose index comes before the desired Condition. |
Condition previousItem (obj:
Condition)
Returns the Condition with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | Condition | The index of the Condition that follows the desired Condition. |
string toSource ()
Generates a string which, if executed, will return the Condition.
Element of
Application.conditions
ChangeGrepPreference.appliedConditions
ChangeTextPreference.appliedConditions
Document.conditions
FindGrepPreference.appliedConditions
FindTextPreference.appliedConditions
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |