ScriptMenuActions
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
ScriptMenuAction [] (index:
number)
Returns the ScriptMenuAction with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
ScriptMenuAction add ([title:
string][, withProperties:
Object])
Creates a new action.
Parameter | Type | Description |
---|---|---|
title | string | The name of the ScriptMenuAction for display in the user interface. The title includes any ampersand characters (&), which are used to tell the Windows OS to underline the following character in the name for use with the Alt key to navigate to a menu item. Double ampersands are used to display an actual ampersand character in the name. The Mac OS ignores and removes the extra ampersand characters. (Optional) |
withProperties | Object | Initial values for properties of the new ScriptMenuAction (Optional) |
ScriptMenuAction anyItem ()
Returns any ScriptMenuAction in the collection.
number count ()
Displays the number of elements in the ScriptMenuAction.
Array of ScriptMenuAction everyItem ()
Returns every ScriptMenuAction in the collection.
ScriptMenuAction firstItem ()
Returns the first ScriptMenuAction in the collection.
ScriptMenuAction item (index:
any)
Returns the ScriptMenuAction with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
ScriptMenuAction itemByID (id:
number)
Returns the ScriptMenuAction with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
ScriptMenuAction itemByName (name:
string)
Returns the ScriptMenuAction with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of ScriptMenuAction itemByRange (from:
any, to:
any)
Returns the ScriptMenuActions within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer ScriptMenuAction String | The ScriptMenuAction, index, or name at the beginning of the range. Can accept: ScriptMenuAction, Long Integer or String. |
to | Long Integer ScriptMenuAction String | The ScriptMenuAction, index, or name at the end of the range. Can accept: ScriptMenuAction, Long Integer or String. |
ScriptMenuAction lastItem ()
Returns the last ScriptMenuAction in the collection.
ScriptMenuAction middleItem ()
Returns the middle ScriptMenuAction in the collection.
ScriptMenuAction nextItem (obj:
ScriptMenuAction)
Returns the ScriptMenuAction whose index follows the specified ScriptMenuAction in the collection.
Parameter | Type | Description |
---|---|---|
obj | ScriptMenuAction | The ScriptMenuAction whose index comes before the desired ScriptMenuAction. |
ScriptMenuAction previousItem (obj:
ScriptMenuAction)
Returns the ScriptMenuAction with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | ScriptMenuAction | The index of the ScriptMenuAction that follows the desired ScriptMenuAction. |
string toSource ()
Generates a string which, if executed, will return the ScriptMenuAction.
Element of
Application.scriptMenuActions
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |