| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » SelectedTimer() | Version 2.2 |
SelectedTimer 関数は、選択されたタイマー・オブジェクトへのハンドルを返します。詳しくは タイマー を参照してください。
この関数は、引数を受け取りません。
選択したタイマーに関するすべての情報を、Dump() 関数を用いて Command Line History に出力します。
Lua |
return function () -- The following prints the dump for the selected timer object local myTimer = SelectedTimer() if myTimer ~= nil then Printf("=============== START OF DUMP ===============") myTimer:Dump() Printf("================ END OF DUMP ================") end end |