MenuActions

A collection of menu actions.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

MenuAction [] (index:Number)

Returns the MenuAction with the specified index.

Parameter

Type

Description

index

Number

The index.

MenuAction anyItem ()

Returns any MenuAction in the collection.

Number count ()

Displays the number of elements in the MenuAction.

MenuAction everyItem ()

Returns every MenuAction in the collection.

MenuAction firstItem ()

Returns the first MenuAction in the collection.

MenuAction item (index:Varies LongInteger String)

Returns the MenuAction with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

MenuAction itemByID (id:Number)

Returns the MenuAction with the specified ID.

Parameter

Type

Description

id

Number

The ID.

MenuAction itemByName (name:String)

Returns the MenuAction with the specified name.

Parameter

Type

Description

name

String

The name.

MenuAction itemByRange (from:Varies LongInteger MenuAction String, to:Varies LongInteger MenuAction String)

Returns the MenuActions within the specified range.

Parameter

Type

Description

from

LongInteger

MenuAction

String

The MenuAction, index, or name at the beginning of the range. Can accept: MenuAction, Long Integer or String.

to

LongInteger

MenuAction

String

The MenuAction, index, or name at the end of the range. Can accept: MenuAction, Long Integer or String.

MenuAction lastItem ()

Returns the last MenuAction in the collection.

MenuAction middleItem ()

Returns the middle MenuAction in the collection.

MenuAction nextItem (obj:MenuAction)

Returns the MenuAction whose index follows the specified MenuAction in the collection.

Parameter

Type

Description

obj

MenuAction

The MenuAction whose index comes before the desired MenuAction.

MenuAction previousItem (obj:MenuAction)

Returns the MenuAction with the index previous to the specified index.

Parameter

Type

Description

obj

MenuAction

The index of the MenuAction that follows the desired MenuAction.

String toSource ()

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

Object of

Application.menuActions