Keep Qlab from advancing to next cue

236 views
Skip to first unread message

TTSystems

unread,
Apr 1, 2016, 12:29:53 PM4/1/16
to QLab
I'm using Qlab in a very simplistic way, to just play audio comments and effects during a radio show.  Occasionally, I want to re-use a cue repeatedly within a monolog, but by default, Qlab jumps to the next item in the list after I play a cue.  Is there a way to turn off the feature that advances it to the next cue?

One other question:  I have set up about 16 cue lists to organize my various sound effects and comic voice reactions.  Is there a centralized way to do a Find, and search across all the cue lists to find all items that match a certain criteria, such as those whose cue names contain the word, "Why" ?

Thanks much,

Dane

Dave Tosti-Lane

unread,
Apr 1, 2016, 12:44:07 PM4/1/16
to ql...@googlegroups.com
You could assign hotkeys to the cues you want to repeat. But I wonder
if for this use, you might find QCart to be a better tool? With Qcart,
you can start and stop a cue by hitting the same button - for
instance, a cue on the "4" key starts when you press 4, and stops when
you press it again - then starts from the beginning when you press it
the third time. (obviously, if the cue has played to the end, then the
second press isn't needed to start and it will just play every time
you hit the key).

Dave Tosti-Lane
> --
> --
> 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/be782439-8468-41a8-b309-923732bc08b5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

micpool

unread,
Apr 1, 2016, 12:45:36 PM4/1/16
to QLab
Press  V key instead of the spacebar

Mic

micpool

unread,
Apr 1, 2016, 1:59:51 PM4/1/16
to QLab
To search across multiple  cue lists, this quick and dirty script on a hot key may do what you want:

--This script will find the first occurrence of the text you enter in the cue name of a cue in any cue list.

tell application id "com.figure53.qlab.3" to tell front workspace

set thecues to cues

set thetext to ""

display dialog "Please enter text to find" default answer thetext

set thetext to text returned of result

try

repeat with thiscue in thecues

if q name of thiscue contains thetext then

set current cue list to parent of thiscue

delay 0.1

set playback position of current cue list to thiscue

exit repeat

end if

end repeat

end try

end tell





Mic




On Friday, April 1, 2016 at 5:29:53 PM UTC+1, TTSystems wrote:

micpool

unread,
Apr 1, 2016, 4:19:50 PM4/1/16
to QLab

And if you aren't using flags for anything else (It will reset all flags) you can find all occurences of cues containing the search text in their names by setting the flags on them.


You can then see all the found (flagged) cues across the multiple list in the warnings window (accessed by clicking the warning triangle in the bottom right of the workspace) 


tell application id "com.figure53.qlab.3" to tell front workspace

set thecues to cues

set thetext to ""

display dialog "Please enter text to find" default answer thetext

set thetext to text returned of result

try

repeat with thiscue in thecues

set the flagged of thiscue to false

if q name of thiscue contains thetext then

set the flagged of thiscue to true

end if

end repeat

end try

end tell



Mic


Rich Walsh

unread,
Apr 1, 2016, 5:06:01 PM4/1/16
to ql...@googlegroups.com
I had most of the parts of this already (put it on a Hot Key, and turn off "Run in separate process"):

-- Declarations

global dialogTitle
set dialogTitle to "Navigate cues whose Cue Name contains…"

-- Main routine

tell front workspace


try -- This protects against no selection (can't get last item of (selected as list))
set selectedCue to last item of (selected as list)
on error
set selectedCue to false
end try


set searchText to my enterSomeText("Enter the text you wish to search for:", "", false)


set foundCues to cues whose q list name contains searchText


set countFoundCues to count foundCues
if countFoundCues = 0 then
display dialog "No cues were found." with title dialogTitle with icon 0 buttons {"OK"} default button "OK" giving up after 5
return
end if


set foundNames to q list name of (cues whose q list name contains searchText)
set foundNumbers to q number of (cues whose q list name contains searchText)


-- Make the popup list (###TODO### Not very efficient…)


set foundList to {}
set cueListDetector to cue id "[root group of cue lists]"
repeat with i from 1 to countFoundCues
set eachCue to item i of foundCues
set eachName to item i of foundNames
set eachNumber to item i of foundNumbers
if eachNumber is "" then
set eachParent to parent of eachCue
if eachParent is not cueListDetector and eachParent's parent is not cueListDetector then -- Found cues could contain cue lists…
repeat until parent of eachParent's parent is cueListDetector -- Go up the hierarchy until you find a Group Cue directly in a cue list
set eachParent to parent of eachParent
end repeat
set eachNumber to q number of eachParent
if eachNumber is not "" then
set eachNumber to "{" & eachNumber & "}" -- "Inherited" cue number from enclosing group(s)
end if
end if
end if
set eachParent to parent of eachCue
if eachParent is cueListDetector then
set eachCueList to "N/A"
else
repeat until eachParent's parent is cueListDetector -- Go up the hierarchy until you find a cue list
set eachParent to parent of eachParent
end repeat
set eachCueList to q list name of eachParent
end if
set end of foundList to (eachNumber & tab & eachName & tab & tab & "Cue List: " & eachCueList)
end repeat


-- Display the list, including pre-selecting the cue after the selected cue


if selectedCue is false or ((uniqueID of selectedCue) is not in (uniqueID of cues whose q list name contains searchText)) then
set defaultChoice to 1
else
repeat with i from 1 to countFoundCues
if selectedCue is item i of foundCues then
set defaultChoice to (i mod countFoundCues) + 1
exit repeat
end if
end repeat
end if


set chosenCue to my pickFromListCustomDefault(foundList, "Please choose the cue to jump to:", defaultChoice)


-- Convert the answer to a cue


repeat with i from 1 to count foundList
if chosenCue is item i of foundList then
set jumpToCue to item i of foundCues
exit repeat
end if
end repeat


-- Move the selection


set selected to jumpToCue


end tell

-- Subroutines

on enterSomeText(thePrompt, defaultAnswer, emptyAllowed)
tell application id "com.figure53.QLab.3"
set theAnswer to ""
repeat until theAnswer is not ""
set theAnswer to text returned of (display dialog thePrompt with title dialogTitle default answer defaultAnswer buttons {"Cancel", "OK"} ¬
default button "OK" cancel button "Cancel")
if emptyAllowed is true then exit repeat
end repeat
return theAnswer
end tell
end enterSomeText

on pickFromListCustomDefault(theChoice, thePrompt, theDefault)
tell application id "com.figure53.QLab.3"
choose from list theChoice with prompt thePrompt with title dialogTitle default items item theDefault of theChoice
if result is not false then
return item 1 of result
else
error number -128
end if
end tell
end pickFromListCustomDefault

NB: I have NOT tested this at all really. Also, there's a big chunk in the middle I'm not happy with – and, I can't make the list dialog appear in nice columns (the old tabs in plain text issue).

Rich

Jeremy S. Bloom

unread,
Apr 2, 2016, 11:35:44 AM4/2/16
to QLab
You may want to checkout Qcart, figure53's other product that may be more appropriate for what you're doing.
Reply all
Reply to author
Forward
0 new messages