User Tools

Site Tools


macros:property:triggers.selectedmappingid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

macros:property:triggers.selectedmappingid [2018/09/10 15:01] (current)
icke_siegen created
Line 1: Line 1:
 +Titan Property
  
 +====== Triggers.SelectedMappingId ======
 +
 +^ API | http://api.avolites.com/11.0/Triggers.SelectedMappingId.html |
 +^ description | Gets or sets the selected mapping id. |
 +^ [[:macros:namespace]] | [[:macros:namespace:triggers]] |
 +^ type | [[:macros:type:int32]] //ASSUMPTION (in the example the id is blindly passed on).// |
 +
 +== example ==
 +
 +<code xml>
 +<step>Triggers.SelectMappingByName("Your Mapping Name")</step>
 +...
 +<step>Triggers.AddMidiTrigger(Triggers.SelectedMappingId, ...)
 +</code>
 +
 +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 ==
 +
 +{{backlinks>.}}
macros/property/triggers.selectedmappingid.txt ยท Last modified: 2018/09/10 15:01 by icke_siegen