A collection of events.
Methods
EventanyItem ()
Returns any Event in the collection.
number count ()
Displays the number of elements in the Event.
Array of EventeveryItem ()
Returns every Event in the collection.
EventfirstItem ()
Returns the first Event in the collection.
Eventitem (index:
any)
Returns the Event with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
EventitemByID (id:
number)
Returns the Event with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
EventitemByName (name:
string)
Returns the Event with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of EventitemByRange (from:
any, to:
any)
Returns the Events within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Event Long Integer String |
The Event, index, or name at the beginning of the range. Can accept: Event, Long Integer or String. |
| to | Event Long Integer String |
The Event, index, or name at the end of the range. Can accept: Event, Long Integer or String. |
EventlastItem ()
Returns the last Event in the collection.
EventmiddleItem ()
Returns the middle Event in the collection.
EventnextItem (obj:
Event)
Returns the Event whose index follows the specified Event in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Event | The Event whose index comes before the desired Event. |
EventpreviousItem (obj:
Event)
Returns the Event with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Event | The index of the Event that follows the desired Event. |
string toSource ()
Generates a string which, if executed, will return the Event.
Element of:
Application.events
Document.events
Menu.events
MenuAction.events
ScriptMenuAction.events
Submenu.events