ScriptMenuActions
A collection of script menu actions.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
ScriptMenuAction add( String title, Object withProperties )
Creates a new action.
Parameters
Number count()
Displays the number of elements in the ScriptMenuAction.
ScriptMenuAction item( Mixed index )
Returns the ScriptMenuAction with the specified index or name.
Parameters
ScriptMenuAction itemByName( String name )
Returns the ScriptMenuAction with the specified name.
Parameters
ScriptMenuAction itemByID( Number id )
Returns the ScriptMenuAction with the specified ID.
Parameters
ScriptMenuAction itemByRange( Mixed from, Mixed to )
Returns the ScriptMenuActions within the specified range.
Parameters
ScriptMenuAction firstItem()
Returns the first ScriptMenuAction in the collection.
ScriptMenuAction lastItem()
Returns the last ScriptMenuAction in the collection.
ScriptMenuAction middleItem()
Returns the middle ScriptMenuAction in the collection.
ScriptMenuAction previousItem( ScriptMenuAction obj )
Returns the ScriptMenuAction with the index previous to the specified index.
Parameters
ScriptMenuAction nextItem( ScriptMenuAction obj )
Returns the ScriptMenuAction whose index follows the specified ScriptMenuAction in the collection.
Parameters
ScriptMenuAction anyItem()
Returns any ScriptMenuAction in the collection.
ScriptMenuAction everyItem()
Returns every ScriptMenuAction in the collection.
String toSource()
Generates a string which, if executed, will return the ScriptMenuAction.
ScriptMenuAction []( Number index )
Returns the ScriptMenuAction with the specified index.