Go to cue and load time

80 views
Skip to first unread message

Pace

unread,
Sep 2, 2025, 10:47:57 AM (3 days ago) Sep 2
to QLab
Hello all !!!
I'm trying to make a cue that would place the play head to a certain cue number and load to a specific time.  I asked ChatGPT to help me and it suggested me an Apple script. In fact, a lot of them neither of which works. I guess it doesn't have to be an Apple script but I'm curious to know what it would look like. The number of the cue that I would like to place the playhead to is .01 which is a group cue (mode timeline) that contains audio cues and video cues. Load to time is 78 seconds though i  know that I would just have to change cue number  and load to time.  If you want , i can send you the different tries of ChatGPT.   Once again, thank you for your precious help. 
Capture d’écran, le 2025-09-02 à 09.58.40.png

Rich Walsh

unread,
Sep 2, 2025, 11:12:17 AM (3 days ago) Sep 2
to ql...@googlegroups.com
You don’t need a Script Cue: use a GoTo Cue that auto-continues into a Load Cue, both targeting cue “.01”. On the Load Time tab of the Load Cue, set the "Load target cue to time" to 78.

Script version:

tell application id "com.figure53.QLab.5" to tell front workspace

set playhead of current cue list to cue ".01"

load (cue ".01") time 78

end tell


It’s a pretty trivial script. ChatGPT is absolutely useless for scripting QLab. Why do people keep trying to use it?

Rich

On 2 Sep 2025, at 15:47, Pace <pascal...@videotron.ca> wrote:

Hello all !!!
I'm trying to make a cue that would place the play head to a certain cue number and load to a specific time.  I asked ChatGPT to help me and it suggested me an Apple script. In fact, a lot of them neither of which works. I guess it doesn't have to be an Apple script but I'm curious to know what it would look like. The number of the cue that I would like to place the playhead to is .01 which is a group cue (mode timeline) that contains audio cues and video cues. Load to time is 78 seconds though i  know that I would just have to change cue number  and load to time.  If you want , i can send you the different tries of ChatGPT.   Once again, thank you for your precious help. 
<Capture d?e?cran, le 20 25-09-02 à 09.58.40.png>

Tim Reid

unread,
Sep 2, 2025, 11:14:04 AM (3 days ago) Sep 2
to ql...@googlegroups.com
Hi,

I’ve also done this with Local OSC cues - two cues in a timeline group like so:


Screenshot 2025-09-02 at 16.04.20.png

Here’s the inspector for the cues. The first one loads the playhead to the right place, the second does the load to time. All that’s left is to press GO.

Screenshot 2025-09-02 at 16.04.31.png


Screenshot 2025-09-02 at 16.04.38.png

Hope that’s useful.
Tim

On 2 Sep 2025, at 15:47, Pace <pascal...@videotron.ca> wrote:

Hello all !!!
I'm trying to make a cue that would place the play head to a certain cue number and load to a specific time.  I asked ChatGPT to help me and it suggested me an Apple script. In fact, a lot of them neither of which works. I guess it doesn't have to be an Apple script but I'm curious to know what it would look like. The number of the cue that I would like to place the playhead to is .01 which is a group cue (mode timeline) that contains audio cues and video cues. Load to time is 78 seconds though i  know that I would just have to change cue number  and load to time.  If you want , i can send you the different tries of ChatGPT.   Once again, thank you for your precious help. 
<Capture d?e?cran, le 20 25-09-02 à 09.58.40.png>

--
Contact support anytime: sup...@figure53.com
User Group Code of Conduct: https://qlab.app/code-of-conduct/
 
Instagram: https://www.instagram.com/Figure53
Bluesky: https://bsky.app/profile/qlab.app
---
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 visit https://groups.google.com/d/msgid/qlab/f8eb0be4-af2d-4570-96b8-079a774017b0n%40googlegroups.com.

Rich Walsh

unread,
Sep 2, 2025, 11:17:03 AM (3 days ago) Sep 2
to ql...@googlegroups.com
You don’t need a Script Cue: use a GoTo Cue that auto-continues into a Load Cue, both targeting cue “.01”. On the Load Time tab of the Load Cue, set the "Load target cue to time" to 78.

Script version:

tell application id "com.figure53.QLab.5" to tell front workspace
set playhead of current cue list to cue ".01"
load (cue ".01") time 78
end tell

It’s a pretty trivial script. ChatGPT is absolutely useless for scripting QLab. Why do people keep trying to use it?

Rich
On 2 Sep 2025, at 15:47, Pace <pascal...@videotron.ca> wrote:

Hello all !!!
I'm trying to make a cue that would place the play head to a certain cue number and load to a specific time.  I asked ChatGPT to help me and it suggested me an Apple script. In fact, a lot of them neither of which works. I guess it doesn't have to be an Apple script but I'm curious to know what it would look like. The number of the cue that I would like to place the playhead to is .01 which is a group cue (mode timeline) that contains audio cues and video cues. Load to time is 78 seconds though i  know that I would just have to change cue number  and load to time.  If you want , i can send you the different tries of ChatGPT.   Once again, thank you for your precious help. 

micpool

unread,
Sep 2, 2025, 11:21:00 AM (3 days ago) Sep 2
to QLab
On Tuesday, September 2, 2025 at 4:12:17 PM UTC+1 Rich Walsh wrote:
You don’t need a Script Cue: use a GoTo Cue that auto-continues into a Load Cue, both targeting cue “.01”. On the Load Time tab of the Load Cue, set the "Load target cue to time" to 78.

Script version:

tell application id "com.figure53.QLab.5" to tell front workspace

set playhead of current cue list to cue ".01"

load (cue ".01") time 78

end tell


It’s a pretty trivial script. 

Pretty trivial, as long as you remember the brackets, which aren't particularly consistent with the rest of the QLab Applescript dictionary!

Mic

 

Chris Ashworth

unread,
Sep 2, 2025, 1:55:53 PM (3 days ago) Sep 2
to Pace, ql...@googlegroups.com
Hi Pace,

ChatGPT doesn’t currently have a sufficient understanding of QLab to produce useful results, so I’d avoid asking it about how to do stuff in QLab as it is (at least currently) almost always wrong.

This is most easily done without Script cues. Here is an example of one way to do it, using a Goto Cue and a Load Cue:

Rich Walsh

unread,
Sep 2, 2025, 3:59:58 PM (3 days ago) Sep 2
to ql...@googlegroups.com
This is because you have these three items in the dictionary:

load (a Command)
cue (a Class)
load cue (another Class)

The compiler can’t tell the difference between load cue 1 and load (cue 1) without the brackets. I’m guessing it interprets “load cue” before “load… cue” unless you force it to understand that the word “cue” is not part of the “load cue” syntax. Probably needed a different verb from the adjective when the dictionary was first written. I can’t think of any other unfortunate combinations.

Rich

Paul

unread,
Sep 3, 2025, 2:14:16 PM (2 days ago) Sep 3
to QLab
This is my preferred script solution, as it has two simple assignments of the cue number and the load time and deals with the cue possibly being in another cue list 

-- load specified cue to time and move playhead to that cue

tell application id "com.figure53.QLab.5" to tell front workspace

set myCueNum to "0.01"

set loadTime to 78

set myCue to cue myCueNum

load myCue time loadTime

set playhead of (parent list of myCue) to myCue

end tell


You can also do this with OSC via Network cues, but the useful look 

     /cue/0.01/loadAt 78

   /cue/999/playhead "0.01"


assuming you have give the cue list of your cue a number of 999

the rather promising looking OSC command

    /cue/{cue_number}/loadAndSetPlayhead

will set the playhead but infuriating loads the cue to 0 (and when I tried putting them in a group it did something weird). So in this case I think the best solution may be using Load and Goto cue solution as suggested by Chris 


Reply all
Reply to author
Forward
0 new messages