cue list finder

48 views
Skip to first unread message

Kalman Tarr

unread,
Sep 9, 2022, 9:24:51 AM9/9/22
to QLab
Hi all,

Using a script like this
            'set theCues to (every cue whose q type is "audio")'
It is going to take all 'audio' cues in the workspace. Yeah

 I'm opened a cycle like this
                'repeat with eachcue in theCues'

The problem starts here.
It is a big problem for me, but for you, good specialists, it is a small one

I would like to know the associated 'cue list' by each cue taken from workspace. 
Simple, I would like to know which is the cue list of the actual Audio cue.
Hopefully the question is understandable, as you know well, my English is a little bit poor.

Thanks for your HELP in advance.

Best,
Kalman

Rich Walsh

unread,
Sep 9, 2022, 9:46:41 AM9/9/22
to ql...@googlegroups.com
You should spend some time reading QLab's AppleScript dictionary; every cue has a property "parent list”:

parent list (cue, r/o) : The parent cue list (or cue cart) that contains this cue.

So:

set associatedCueList to parent list of eachCue

Rich
Reply all
Reply to author
Forward
0 new messages