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
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>
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.
tell application id "com.figure53.QLab.5" to tell front workspaceset playhead of current cue list to cue ".01"load (cue ".01") time 78end tell
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.
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.
load (a Command)cue (a Class)load cue (another Class)
-- 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
set CueList to "Main Cue List"
display dialog "Separate with a comma!" & return & return & "Cue number, time to standby?" default answer ""
if button returned of result = "cancel" then
return
else
set theAnswer to text returned of the result
set ASTID to AppleScript's text item delimiters -- remembers current text item delimiters
set AppleScript's text item delimiters to ","
-- display alert if no input
if theAnswer is "" then
beep
display alert “No input detected!"
else
set myCue to first text item of theAnswer
end if
-- default to 0s if no time specified
if theAnswer does not contain "," then
set theTime to "0"
else
set theTime to second text item of theAnswer
end if
set AppleScript's text item delimiters to ASTID
end if
tell application id "com.figure53.QLab.5" to tell front workspace
load (cue myCue) time theTime
set playhead of current cue list to cue myCue
end tell
--
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/a00bf67b-6702-455d-9fe5-9707e2b28129n%40googlegroups.com.
there's a couple of things I'm struggling with. Specifically, I haven't been able to make "set playhead of (parent list of myCue) to myCue" work, hence the below only targeting "current cue list”. Another little thing is that I would love an alert to display if the cue number entered doesn't appear in the workspace, but I can't quite figure out where to start on that.
set playhead of (parent.......... works fine. See attached screen recording and workspace
set cueNum to text returned of (display dialog "Cue Number to go to?" default answer "")
tell application id "com.figure53.QLab.5" to tell front workspace
try
set myCue to cue cueNum
set playhead of (parent list of myCue) to myCue
set current cue list to parent list of myCue
on error {}
display alert "Not a Valid Cue Number"
end try
On 8 Sep 2025, at 07:26, micpool <m...@micpool.com> wrote:
--
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/53f29e5e-afbf-46e7-bfda-7e0347d314f1n%40googlegroups.com.
<Roly.qlab5><Screen Recording 2025-09-08 at 07.21.30-HD 1080p.mov>