Jump a cue back in time while playing and start again from there

308 views
Skip to first unread message

Erik Rietman

unread,
Aug 20, 2015, 10:08:33 AM8/20/15
to QLab
Hi,

Is there a way to create a cue which jumps another cue (video or audio) back in time (for example 5 minutes) during playback of that specific cue and (re)start that from there?

To be more clear:
  • cue 1 is playing
  • cue 2 is jumping cue 1 back in time and starts cue 1 from there.
Grtz,
Erik


micpool

unread,
Aug 20, 2015, 12:25:52 PM8/20/15
to QLab
Put this in a script cue and set the target cue number and the skip time in the top of the script:

--Script to Skip forward or backward in a cue

set thetarget to 1 --set target cue 
set theskiptime to -3 --set skip time here in seconds (minus  for skipback )

--do not alter anything below this line

set thetarget to thetarget as string
tell application id "com.figure53.qlab.3" to tell front workspace
set thecurrentTime to (action elapsed of cue thetarget)
stop cue thetarget
delay 0.01
load (cue thetarget) time (thecurrentTime + theskiptime)
start cue thetarget
end tell


Mic

micpool

unread,
Aug 20, 2015, 12:47:31 PM8/20/15
to QLab
You can also do a small variation on this script to make it work on the currently selected cue

--Hotkey Script to Skip forward or backward in selected cue

set theskiptime to -3 --set skip time here in seconds (minus  for skipback )


tell application id "com.figure53.qlab.3" to tell front workspace
set thetarget to last item of (selected as list)
set thecurrentTime to (action elapsed of thetarget)
stop thetarget
delay 0.01
load thetarget time (thecurrentTime + theskiptime)
start thetarget
end tell


This means you can put it on hotkeys for Rewind  and  Fast Forward in any cue as in the attached example

Mic
FWD RWD hotkeys.zip

micpool

unread,
Aug 20, 2015, 1:18:29 PM8/20/15
to QLab
Interestingly, both these methods work on group cues as well.

This shows that although group cues don't officially have a duration they do in fact have an elapsed time.

Mic

Erik Rietman | KIRENTIS

unread,
Aug 20, 2015, 5:51:52 PM8/20/15
to ql...@googlegroups.com
Thanks Mic for the effort! Nice to see that it works on group cues as well. It's great addition to the whole qlab list we've put together so far.

Erik

--
--
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 a topic in the Google Groups "QLab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qlab/aNZ8CxmTS0A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qlab+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


De inhoud van dit bericht is alleen bestemd voor de geadresseerde en kan vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht onbedoeld heeft ontvangen verzoeken wij u het te vernietigen en de afzender te informeren. Het is niet toegestaan om een bericht dat niet voor u bestemd is te vermenigvuldigen dan wel te verspreiden. Aan dit bericht inclusief de bijlagen kunnen geen rechten ontleend worden, tenzij schriftelijk anders wordt overeengekomen. De Leercompany aanvaardt geen enkele aansprakelijkheid voor schade en/of kosten die voortvloeien uit onvolledige en/of foutieve informatie in e-mailberichten.
Reply all
Reply to author
Forward
0 new messages