| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object API » Set(handle, string, string[, integer]) | Version 2.2 |
Set 関数は、オブジェクトの指定したプロパティに値を設定します(例: オブジェクト名など)。
この関数は何も返しません。
この例では、選択したシーケンスの "Tracking" プロパティを "No" に変更します。
Lua |
return function() -- SelectedSequence() creates a handle to the selected sequence. local selectedSequence = SelectedSequence() -- Set a variable with the property name. local propertyName = "Tracking" -- Set the property. selectedSequence:Set(propertyName, "No") end |