User Tools

Site Tools


scripting_examples

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
scripting_examples [2024/10/04 09:27] – [Fetches the color of a shape from a GTtitle and then performs an action based on the color] peteraelligscripting_examples [2025/11/07 21:04] (current) – [turns off all SOLOs] peteraellig
Line 485: Line 485:
 Next Next
 </code>\\ </code>\\
 +
 +===== toggle all Audio outputs=====
 +<code>
 +'Toggles on/off all Audio Busses
 +Dim busValues As String() = {"A", "B", "C", "D", "E", "F", "G"}
 +For Each value As String In busValues
 +    API.Function("BusXAudio", Value:=value)
 +Next</code>\\
 +
 +===== turn all audio outputs off (not Master) =====
 +<code>
 +Dim busValues As String() = {"A", "B", "C", "D", "E", "F", "G"}
 +For Each value As String In busValues
 +    API.Function("BusXAudioOff", Value:=value)
 +Next</code>\\
 +
 +===== turn all audio outputs ON (not Master) =====
 +<code>
 +Dim busValues As String() = {"A", "B", "C", "D", "E", "F", "G"}
 +For Each value As String In busValues
 +    API.Function("BusXAudioOn", Value:=value)
 +Next</code>\\
 +
 +===== turn on, off, toggle, Audio Master =====
 +<code>API.Function("MasterAudioOff")</code>
 +<code>API.Function("MasterAudioOn")</code>
 +oder toggle
 +<code>API.Function("MasterAudio")</code>
 +
  
 ===== gets Audio Titelname from a INPUT (Musictitle) ===== ===== gets Audio Titelname from a INPUT (Musictitle) =====
scripting_examples.1728026826.txt.gz · Last modified: by peteraellig

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki