Here's a script to preview light cues

182 views
Skip to first unread message

Tomas Lindén

unread,
Sep 21, 2020, 1:03:51 PM9/21/20
to ql...@googlegroups.com
Hi

I recently bumped into a problem where Qlab didn't behave like I expected.
To be able to do what I wanted I made a script cue.

Reason:
During the programming phase of the production I want to quickly jump between the different light cues to make sure that everything behaves correctly and also to go back and fix things that I noticed during a run.
The quick way to do this was in my mind to activate "Collate effects of previous light cues" on all light cues within the timeline group. That way I could go to whatever light cue I wanted to, using the preview function. I was also able to play the timeline group cues and everything worked as expected.
However, this turned out to be a problem during rehearsal when the performers wanted to rehearse a specific section. I used "Load to time" and Qlab took sometimes up to 12 seconds before it started playing when I pressed GO.
Now I've only set the first light cue in each timeline group to "Collate..." and left the others without that setting. This way the "Load to time" function works as expected.

My workaround:
With a hotkey I can test any light cue in any order and get the expected artnet output.
I'm not used to applescript so it might not be optimal but it seems to work.

tell application id "com.figure53.QLab.4" to tell front workspace
  repeat with eachCue in (selected as list)
    if q type of eachCue is "light" then
      if always collate of eachCue is true then
        preview eachCue
      else
        set always collate of eachCue to true
        preview eachCue
        set always collate of eachCue to false
      end if
    else
      preview eachCue
    end if
  end repeat
end tell

Hope this can be helpful to someone else as well

/Tomas Lindén

ABDELLATIF

unread,
Apr 2, 2023, 7:10:34 PM4/2/23
to QLab
merci c'est super
peux tu envoyer le fichier Qlab 
car je ne sais pas comment le faire marcher, fonctionner .

Merci encore

Reply all
Reply to author
Forward
0 new messages