User Tools

Site Tools


macros:example:audiotriggersonoff

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
macros:example:audiotriggersonoff [2019/04/28 00:20]
sideshowbond [Toggle Audio Triggers On/Off]
macros:example:audiotriggersonoff [2019/12/09 21:34] (current)
gregory [Code] Added active binding for toggle macro
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>​
macros/example/audiotriggersonoff.1556403650.txt.gz ยท Last modified: 2019/04/28 00:20 by sideshowbond