macros:example:audiotriggersonoff

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:audiotriggersonoff [2018/01/18 06:39] icke_siegenmacros:example:audiotriggersonoff [2019/12/09 20:34] (current) – [Code] Added active binding for toggle macro gregory
Line 1: Line 1:
 Example Example
  
-====== Toggle Audio Triggers On/Off ======+====== Trigger - Toggle Audio Triggers On/Off ======
  
 ^ by: | Sebastian Beutel | ^ by: | Sebastian Beutel |
Line 9: Line 9:
 ^ ::: | idea: https://www.facebook.com/groups/AvolitesTitanOne/permalink/1221271414675655/ | ^ ::: | idea: https://www.facebook.com/groups/AvolitesTitanOne/permalink/1221271414675655/ |
  
-{{tag>audio trigger toggle ]}}+{{tag>audio trigger toggle}}
  
 ==== functions ==== ==== functions ====
Line 36: Line 36:
   <macro id="Avolites.Macros.Audiotrigger.Toggle" name="Toggle Audiotrigger">   <macro id="Avolites.Macros.Audiotrigger.Toggle" name="Toggle Audiotrigger">
     <description>Toggle Audio Trigger.</description>     <description>Toggle Audio Trigger.</description>
 +    <active binding="Audio.AudioTriggersEnabled" />
     <sequence>     <sequence>
       <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", !Audio.AudioTriggersEnabled)</step>       <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", !Audio.AudioTriggersEnabled)</step>
Line 48: Line 49:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+This sets the property ''AudioTriggersEnabled'' to true or false, thus enabling/disabling the audio triggers.
  
 ===== How to use it ===== ===== How to use it =====
macros/example/audiotriggersonoff.1516257576.txt.gz · Last modified: 2018/01/18 06:39 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki