tell application id "com.figure53.QLab.5" to tell front workspace
-- Send OSC /keyCUE 1 message
make type "network"
set theCue to last item of (selected as list)
set the q number of theCue to "1"
set custom string of cue "1" to "/keyCUE 1 "
set network patch name of cue "1" to "LT"
start cue "1"
end tell
etc.
You will notice from the above that when it comes to QLab scripts, ChatGPT or whatever else you used is the antithesis of intelligence.
QLab 5 doesn't have an OSC cue
QLab Cue numbers are strings
You have to make a cue and then number it ( or use = the default number if numbering cues automatically; the cue you make is always the selected cue.)
To set a patch by name, you have to use set network patch name
The address and the argument are written to the custom string of a cue as the entire OSC message.
So basically, every line of code generated by AI is, in this case, nonsense!
Mic
--
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/fda5cc89-a7ab-44d7-82cf-745beb65fb62n%40googlegroups.com.