User Tools

Site Tools


macros:property:triggers.selectedmappingid

This is an old revision of the document!


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.1536591691.txt.gz · Last modified: 2018/09/10 15:01 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki