--
Contact support anytime: sup...@figure53.com
User Group Code of Conduct: https://qlab.app/code-of-conduct/
Instagram: https://www.instagram.com/Figure53
Bluesky: https://bsky.app/profile/qlab.app
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qlab/64e985aa-2304-41b1-8602-5681ff837ea2n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qlab/6d752aeb-27f1-45f6-aa61-7e8779a90266n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qlab/6d752aeb-27f1-45f6-aa61-7e8779a90266n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qlab/6d752aeb-27f1-45f6-aa61-7e8779a90266n%40googlegroups.com.
-- set channel variable in notes of cue
set cueNum to "chref" -- this can be this script cue or another cue
tell application id "com.figure53.QLab.5" to tell front workspace
set notes of cue cueNum to text returned of (display dialog "Enter channgel number " default answer "6")
end tell
You can the use the channel number "variable" in your various network cues, for example
/mixer/command/#/cue/chref/notes#/some/param
Here is a demo script which generates some network cues with arbitrary mixer commands
-- make network cues to control variable channle on mixer - DEMO
set cueNum to "chref" -- the cue to store the "variable" in the Notes
set networkPatchNum to 2
tell application id "com.figure53.QLab.5" to tell front workspace
-- just testing - make a network cue using the variable set above
set paramValue to "abc1" -- demo value
set baseOSCmessage to "/mixer/channel/" -- demo value
repeat with mixerParam in {"Mute", "unMute", "Pan", "HighPass"}
make type "Network"
set networkCue to last item of (selected as list)
set network patch number of networkCue to networkPatchNum
set parameter values of networkCue to baseOSCmessage & "#/cue/chref/notes#/" & mixerParam & space & paramValue
end repeat
set notes of cue cueNum to text returned of (display dialog "Enter channgel number " default answer "6")
end tell
When you run the Network cues you will get this output (shown in Protokol monitor software) with change of channel shown
