--requires no passcode access to be set in network settings
tell application id "com.figure53.QLab.5" to tell front workspace
set theRandom to random number from 1 to 8
set theMessage to "/cue/8.5/sliderLevel/" & theRandom & " -6"
do shell script "echo " & quoted form of theMessage & "| nc -u -w 0 127.0.0.1 53535"
end tell
or if you want to send as real OSC...
--requires a network cue numbered "SET"
tell application id "com.figure53.QLab.5" to tell front workspace
set theRandom to random number from 1 to 8
set custom string of cue "SET" to "/cue/8.5/sliderLevel/" & theRandom & " -6"
start cue "SET"
end tell
--
Contact support anytime: sup...@figure53.com
Follow QLab on Threads: https://threads.net/@QLabApp
User Group Code of Conduct: https://qlab.app/code-of-conduct/
---
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 on the web visit https://groups.google.com/d/msgid/qlab/0b858b43-c506-4902-8522-cecb3630f5f5n%40googlegroups.com.