MMD Macro Wiki

MikuMikuDance用マクロ/ホットキーツール「MMD Macro」公式wiki

ユーザ用ツール

サイト用ツール


function

文書の過去の版を表示しています。


関数

関数は「ボタンを押す」「入力欄に入力する」「ドロップダウンリストから項目を選ぶ」といった個々の操作に対応する操作命令です。
「押すボタン」「入力する文字列」「選ぶ項目の名前」といったパラメータを指定して使用します。
MMD Macroはマクロファイルの記述に従って複数の関数を連続処理することで操作の自動化を実現しています。

マクロファイルには function(alias,param1,param2) のような体裁で記述します。
パラメータにカンマ「,」が含まれる場合はパラメータを二重引用符「“」で囲みます。

関数一覧

targetnamearg1arg2arg3arg4arg5
buton click alias repeat_min[int] repeat_max[int] thru[bool]
buton check alias
buton uncheck alias
list search alias needle[str]
list select alias count[int]
list next alias repeat[int]
list prev alias repeat[int]
list count alias var[int]
list current alias var[int] var[str]
edit get alias var[mixed]
edit focus alias clear[bool]
edit set alias replace[num] adj[num] pos[bool]
edit add alias number[num] dec[int]
edit randomAdd alias min[num] max[num] dec[int]
curve curve alias start_x[num] start_y[num] end_x[num] end_y[num]
menu menu alias menu[int] submenu[int]
dialog dialogOpen class needle[str]
dialog dialogClose class
buton dialogClick class repeat[int]
buton dialogCheck class
buton dialogUncheck class
list dialogSearch class needle[str]
list dialogSelect class count[int]
list dialogCount class
list dialogCurrent class var[int] var[str]
edit dialogSet class replace[num]
edit dialogSetStr class replace[str]
var input count[int] var[mixed] var[mixed] text[str]
var var var[mixed] value[mixed]
var calc var[mixed] op[str] value[mixed] var[mixed]
var randon var[num] min[num] max[num] dec[int]
other loop file[str] repeat[int]
other msgbox msg[str] title[str]
other activate
other sleep ms[int]
function.1526306371.txt.gz · 最終更新: 2018-05-14 13:59:31 by nef

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki