Example
by: | Sebastian Beutel |
---|---|
published: | Januar 2018 |
description: | Toggle Audio Triggers On/Off |
remarks: | based on Timecode - Enable/Disable |
idea: https://www.facebook.com/groups/AvolitesTitanOne/permalink/1221271414675655/ |
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro id="Avolites.Macros.Audiotrigger.Enable" name="Enable Audiotrigger"> <description>Enable Audio Trigger.</description> <sequence> <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", true)</step> </sequence> </macro> <macro id="Avolites.Macros.Audiotrigger.Disable" name="Disable Audiotrigger"> <description>Disable Audio Trigger.</description> <sequence> <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", false)</step> </sequence> </macro> <macro id="Avolites.Macros.Audiotrigger.Toggle" name="Toggle Audiotrigger"> <description>Toggle Audio Trigger.</description> <active binding="Audio.AudioTriggersEnabled" /> <sequence> <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", !Audio.AudioTriggersEnabled)</step> </sequence> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
This sets the property AudioTriggersEnabled
to true or false, thus enabling/disabling the audio triggers.