Ver. | プロパティ名 | 値 | 説明 |
---|---|---|---|
□□■■ | Parent | Application | 親のオブジェクト |
□□■■ | EventListeners | EventListeners | event listeners |
□□■■ | Events | Events | events |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
□□■■ | Area | String型 | The menu action area. | |
□□■■ | Checked | Boolean型 | If true, the menu item associated with the menu action is checked. | |
□□■■ | Enabled | Boolean型 | If true, the menu action is enabled. | |
□□■■ | Id | ○ | Long型 | オブジェクトのID |
□□■■ | Index | ○ | Long型 | インデックス |
□□■■ | Label | String型 | スクリプトラベル | |
□□■■ | Name | String型 | 既定値。オブジェクトの名前を返す | |
□□■■ | Title | String型 | 表示する名称。Winなら&でショートカットが使える |
Ver. | メソッド名/パラメータ | 戻り値/パラメータの値 | 説明 | |
---|---|---|---|---|
□□■■ | AddEventListener | EventListener | EventListenerを作成 | |
EventType | String型 | |||
Handler | File, JavaScript | FileはString型 | ||
[Captures] | Boolean型 | |||
□□■■ | Delete | オブジェクトを削除 | ||
□□■■ | ExtractLabel | String型 | キーに関連づけられたラベルを取得 | |
Key | String型 | キー | ||
□□■■ | InsertLabel | キーに関連づけられたラベルを設定 | ||
Key | String型 | キー | ||
Value | String型 | ラベルの値 | ||
□□■■ | Invoke | |||
□□■■ | RemoveEventListener | Boolean型 | ||
EventType | String型 | |||
Handler | File, JavaScript | FileはString型 | ||
[Captures] | Boolean型 |
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
□□■■ | Count | ○ | Long型 | オブジェクト数 |
□□■■ | Item(Index) | ○ | Object | 既定値、省略可。IndexまたはName(なければLabel)で指定されたオブジェクトを返す |
Ver. | メソッド名/パラメータ | 戻り値/パラメータの値 | 説明 | |
---|---|---|---|---|
□□■■ | Add | ScriptMenuAction | 新しいオブジェクトを作成し、それを返す | |
[Title] | String型 | The name of the ^Object 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. | ||
□□■■ | AnyItem | Object | 各オブジェクトを返す | |
□□■■ | FirstItem | Object | 最初のオブジェクトを返す | |
□□■■ | ItemByID | Object | IDで指定したオブジェクトを返す | |
Id | Long型 | オブジェクトのID | ||
□□■■ | ItemByRange | Objects | 範囲で指定したオブジェクトを返す | |
From | Object, Long型, String型 | 範囲の開始 | ||
To | Object, Long型, String型 | 範囲の終了 | ||
□□■■ | LastItem | Object | 最後のオブジェクトを返す | |
□□■■ | MiddleItem | Object | middle objectを返す | |
□□■■ | NextItem | Object | 一つ後のオブジェクトを返す | |
Obj | Object | 位置の基準になるオブジェクト | ||
□□■■ | PreviousItem | Object | 一つ前のオブジェクトを返す | |
Obj | Object | 位置の基準になるオブジェクト |