macros:example:audiotriggersonoff

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:audiotriggersonoff [2018/01/17 22:39] – created 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 ======
- +
-**This is work in progress - the macro needs to be tested with a real Quartz**+
  
 ^ by: | Sebastian Beutel | ^ by: | Sebastian Beutel |
Line 9: Line 7:
 ^ description: | Toggle Audio Triggers On/Off | ^ description: | Toggle Audio Triggers On/Off |
 ^ remarks: | based on [[macros:example:timecodeonoff|]] | ^ remarks: | based on [[macros:example:timecodeonoff|]] |
 +^ ::: | idea: https://www.facebook.com/groups/AvolitesTitanOne/permalink/1221271414675655/ |
  
-{{tag>audio trigger toggle ]}}+{{tag>audio trigger toggle}}
  
 ==== functions ==== ==== functions ====
Line 24: Line 23:
 <avolites.macros> <avolites.macros>
   <macro id="Avolites.Macros.Audiotrigger.Enable" name="Enable Audiotrigger">   <macro id="Avolites.Macros.Audiotrigger.Enable" name="Enable Audiotrigger">
- <description>Enable Audio Trigger.</description>+    <description>Enable Audio Trigger.</description>
     <sequence>     <sequence>
       <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", true)</step>       <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", true)</step>
Line 30: Line 29:
   </macro>   </macro>
   <macro id="Avolites.Macros.Audiotrigger.Disable" name="Disable Audiotrigger">   <macro id="Avolites.Macros.Audiotrigger.Disable" name="Disable Audiotrigger">
- <description>Disable Audio Trigger.</description>+    <description>Disable Audio Trigger.</description>
     <sequence>     <sequence>
       <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", false)</step>       <step>ActionScript.SetProperty.Boolean("Audio.AudioTriggersEnabled", false)</step>
-     </sequence>+    </sequence>
   </macro>   </macro>
   <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 49: 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.1516228765.txt.gz · Last modified: 2018/01/17 22:39 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki