| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object API » GetUISettings(handle) |
Version 2.2 |
GetUISettings 関数は、オブジェクトのUI設定名を含む文字列を返します。
選択したシーケンスの設定名を出力します。
Lua |
return function() -- SelectedSequence() creates a handle to the selected sequence. local selectedSequence = SelectedSequence() -- Get the name of the editor for the sequence object. local seqSettings = selectedSequence:GetUISettings() -- Print some feedback. if seqSettings ~= nil then Printf("The name of the settings is: " .. seqSettings) else Printf("The object doesn not appear to have an editor.") end end |