MEL ホットキーを変更 説明

//press 使用キーを押す、または、押しているとコマンド名スクリプトが使用できる

$hotKey1 = `nameCommand
-annotation "コマンド名"
-command "スクリプト"`;
runTimeCommand -command "スクリプト" -category "User" $hotKey1;
hotkey -k "使用キー" -name $hotKey1;


//release 使用キーを離すとコマンド名スクリプトが使用できる
$hotKey2 = `nameCommand
-annotation "コマンド名"
-command "スクリプト"`;
runTimeCommand -command "スクリプト" -category "User" $hotKey2;
hotkey -k "使用キー" -releaseName $hotKey2;