macros:property:triggers.selectedmappingid
Titan Property
Triggers.SelectedMappingId
API | http://api.avolites.com/11.0/Triggers.SelectedMappingId.html |
---|---|
description | Gets or sets the selected mapping id. |
Namespaces | Triggers |
type | Int32 ASSUMPTION (in the example the id is blindly passed on). |
example
<step>Triggers.SelectMappingByName("Your Mapping Name")</step> ... <step>Triggers.AddMidiTrigger(Triggers.SelectedMappingId, ...)
In order to create a MIDI trigger a mapping needs to be selected. Usually a mapping is selected by its name - but the AddMidiTrigger() function requires a mapping passed by its id.
At first a specific mapping is selected by its name. Then its id is retrieved by passing Triggers.SelectedMappingId
.
used in
macros/property/triggers.selectedmappingid.txt · Last modified: 2018/09/10 15:01 by 127.0.0.1