tell application id "com.figure53.QLab.4" to tell front workspace
set theSelected to last item of (selected as list)
set theCue to cue "getName"
start theCue
--delay 0.1
tell current cue list
set allCues to cues whose q type is "video" and armed is true
end tell
repeat with i from 2 to count of allCues
set qNumber to q number of item (i) of allCues
set oscCmd to "/cue/" & qNumber & "/surfaceName " & (notes of theCue)
do shell script "echo " & the quoted form of (oscCmd) & " | nc -u -w 0 127.0.0.1 53535"
end repeat
display dialog "Task completed!" buttons "Quit" default button 1
end tell
I look forward to your good ideas. :-)
Best,
Kalman
echo '/cue/1/surfaceName yourSurface' | nc -u -w 0 127.0.0.1 53535
--
Contact support anytime: sup...@figure53.com
Follow QLab on Twitter: https://twitter.com/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/5bb7aedb-0ed1-4d0b-9773-08e4013e71f3n%40googlegroups.com.
tell me to do shell script "echo " & quoted form of (oscCmd) & " | nc -u -w 0 127.0.0.1 53535"
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/f6b444a1-bdbd-4d8a-b0ea-cf9ed3449672n%40googlegroups.com.

