MenuActions

A collection of menu actions.

Methods

MenuActionanyItem ()
Returns any MenuAction in the collection.

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

Array of MenuActioneveryItem ()
Returns every MenuAction in the collection.

MenuActionfirstItem ()
Returns the first MenuAction in the collection.

MenuActionitem (index:
any)
Returns the MenuAction with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

MenuActionitemByID (id:
number)
Returns the MenuAction with the specified ID.

Parameter Type Description
id number The ID.

MenuActionitemByName (name:
string)
Returns the MenuAction with the specified name.

Parameter Type Description
name string The name.

Array of MenuActionitemByRange (from:
any, to:
any)
Returns the MenuActions within the specified range.

Parameter Type Description
from MenuAction
Long Integer
String
The MenuAction, index, or name at the beginning of the range. Can accept: MenuAction, Long Integer or String.
to MenuAction
Long Integer
String
The MenuAction, index, or name at the end of the range. Can accept: MenuAction, Long Integer or String.

MenuActionlastItem ()
Returns the last MenuAction in the collection.

MenuActionmiddleItem ()
Returns the middle MenuAction in the collection.

MenuActionnextItem (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.

MenuActionpreviousItem (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.

Element of:

Application.menuActions

Leave a Comment

Previous post:

Next post: