contextMenucontextMenu(Ver2.11対応版)
目次Index−
スクリプトScript−
グローバルのメソッドGlobal method−
contextMenu
contextMenu( str1 [, str2] )
選択中のファイルのコンテキストメニューに、str1の文字列と一致するメニューがあればメニューを実行します。(V1.02)
(例:"コピー(&C)"や"プロパティ(&R)")
または一致する動詞(Verb)があれば実行します。
(例:"copy"や"propaties")
サブメニューの場合str1で一致するサブメニュー名と、str2でサブメニュー内のメニュー項目名を指定します。
(例:contextMenu("プログラムから開く(&H)","フォト");)
一致するものが無ければ無視されます。
Execute the item of the context menu.(V1.02)
Check the context menu of the selected file for a match with the string of str1.
(Example : "&Extract")
Or check the matching verb string.
(Example : "copy")
In the case of a submenu, specify the submenu name in str1 and the item name in str2.
- パラメータ1(文字列型)
-
メニューの項目名を指定します。
- パラメータ2(文字列型、省略可能)
-
パラメータ1がサブメニューの場合、サブメニュー内の項目名を指定します。
- 返り値
-
返り値はありません。