tell application id "com.figure53.qlab.4" to tell front workspace
-- /eos/[cue list]/[cue number]/fire
-- /eos/user/61/[cue list]/[cue number]/fire
set currentTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"/"}
set theCues to (selected as list)
repeat with eachCue in theCues
if q type of eachCue is "Network" then
set currentOSC to custom message of eachCue
set newCommand to "/eos/user/61/" & (text item 2 of currentOSC) & "/" & (text item 3 of currentOSC) & "/" & (text item 4 of currentOSC) & "/" & "fire"
set custom message of eachCue to newCommand
end if
end repeat
set AppleScript's text item delimiters to currentTIDs
end tell
On Oct 9, 2017, at 4:53 PM, luckydave <luck...@figure53.com> wrote:
Here's a down and dirty script. It assumes you have selected your Network cues, and you're just changing the preface in accurately-formatted commands. In other words, I feel confident it'll work for you, but there's very little protection against errors.
tell application id "com.figure53.qlab.4" to tell front workspace
-- /eos/[cue list]/[cue number]/fire-- /eos/user/61/[cue list]/[cue number]/fire
set currentTIDs to AppleScript's text item delimitersset AppleScript's text item delimiters to {"/"}
set theCues to (selected as list)repeat with eachCue in theCuesif q type of eachCue is "Network" thenset currentOSC to custom message of eachCue
set newCommand to "/eos/user/61/" & (text item 2 of currentOSC) & "/" & (text item 3 ofcurrentOSC) & "/" & (text item 4 of currentOSC) & "/" & "fire"
set custom message of eachCue to newCommandend ifend repeat
set AppleScript's text item delimiters to currentTIDs
end tell
--luckydaveOn October 9, 2017 at 2:25:16 PM, Brendan Aanes (baa...@gmail.com) wrote:
Apologies if this has been discussed before. We are triggering an Ion via OSC, using the /eos/[cue list]/[cue number]/fire command. However, whenever a command is received it clears anything typed on the ion command line, which is causing problems for the LD. There are cues firing in multiple lists, but it seems to clear the command line regardless.
ETC has suggested using the syntax /eos/user/61/[cue list]/[cue number]/fire so that the OSC cues are taken by a background user, however the Qlab side of this show is maybe 1000 cues deep and has already been programmed. So it’s a big job to update.
--
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/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/CANrzNvyJ%2Bs6RE%2Bk3J2kHosc8foRYWJkNpLNfsxkmj0rmX4R5pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/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/8bcda288-d27e-40a3-8145-c47a39014147%40googlegroups.com.