Next waiting cue

90 views
Skip to first unread message

ataylo...@orcsd.org

unread,
Feb 26, 2016, 2:06:39 PM2/26/16
to QLab
Hello,

Is there a way to get a list of the cues currently waiting on pre-waits to execute?  I'd like to get the next cue to fire and feed it into a titles cue for a presenter display.

Thanks,
Alexander

Rich Walsh

unread,
Feb 26, 2016, 8:35:05 PM2/26/16
to ql...@googlegroups.com
You could probably construct an AS query based on "active cues" and "pre wait" and "percent pre wait elapsed" to work out which running cue is going to complete its pre wait next, but how would you raise the query? Would you poll the active cues list every 1s? Or run the script on every GO?

Wouldn't it be better to program exactly what you want displayed when rather than try to query the ever-changing list of running cues on the fly and planning for all possible scenarios?

Rich

ataylo...@orcsd.org

unread,
Feb 26, 2016, 10:30:29 PM2/26/16
to QLab
Unfortunately, I can't statically program what I want to display.  This project is looking at things from a different perspective.  Instead of what's running as cues during a show, this project is addressing managing preshow and postshow events, so it's a (potentially) smaller number of cues that won't be changing dynamically during the event, but may change on a per-event basis.

Thanks for the suggestion, I'll look into that approach.

Alexander

Alexander Taylor (Mailing List)

unread,
Feb 29, 2016, 12:10:19 PM2/29/16
to ql...@googlegroups.com
Is there a way to get the list of a group cue’s contents via OSC or AppleScript?  Then I could iterate down checking pre-wait times, and that would do it.  Looked at the documentation and didn’t see anything relating to it.

Thanks,
Alexander

--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
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/763e63f0-d085-4ba0-a943-4adc5464646d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rich Walsh

unread,
Feb 29, 2016, 5:18:07 PM2/29/16
to ql...@googlegroups.com
cues of cue "1" -- Or whatever

You can have lots of fun burrowing down into Group Cues inside Group Cues… For example, this routine to clear the cue number of selected cues that aren't directly in a cue list:

set userEnterIntoGroups to true -- Set this to false if you don't want the script to act on children of selected Group Cues

tell front workspace
set cuesToProcess to (selected as list)
if userEnterIntoGroups is true then
set i to 0
repeat until i = (count cuesToProcess)
set eachCue to item (i + 1) of cuesToProcess
set eachType to q type of eachCue
if eachType is "Group" then
set cuesToProcess to cuesToProcess & cues of eachCue
end if
set i to i + 1
end repeat
end if
repeat with eachCue in cuesToProcess
if parent of eachCue is not current cue list then
set q number of eachCue to ""
end if
end repeat
end tell

Rich

Alexander Taylor (Mailing List)

unread,
Feb 29, 2016, 5:20:00 PM2/29/16
to ql...@googlegroups.com
That’s great, thanks!

Alexander

-- 
-- 
Change your preferences or unsubscribe here: 
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53
--- 
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.
Reply all
Reply to author
Forward
0 new messages