bug or normal

44 views
Skip to first unread message

Kalman Tarr

unread,
Oct 20, 2025, 3:11:13 PM (10 days ago) Oct 20
to QLab
I noticed something interesting. I created a script where I copy 2-3 cues, paste them and call a group cue. Now comes the interesting part. Then the pasted cues are included in the group cue. But if there is only one pasted cue, the group cue does not pick up that. Interesting! Is this a bug or normal!

I'll show you a snippet from the script:

tell application "QLab" to tell front workspace

# choose the desired cues or single cue

set xx_xx to cues in (current cue list) whose q type is "memo" and broken is false

set selected to xx_xx

# copy selected(s)

tell application "System Events"

keystroke "c" using command down

end tell

# deselect it/them after copy

set selected to {}

repeat xxx times

# paste copied cues or a single cue

activate

tell application "System Events"

keystroke "v" using command down

end tell

#

make type "group"

set theInnerGroup to last item of (selected as list)

# at this point the group INCLUDES the pasted cue(s)

# OR NOT, IF IT  IS JUST A SINGLE CUE

end repeat

end tell


Thanks in advance:

Best,

Kalman

micpool

unread,
Oct 20, 2025, 3:26:15 PM (10 days ago) Oct 20
to QLab
This is working exactly the same as if you created the group in the normal way.

If you have one cue selected, QLab assumes you want to create a group after the selected cue.

If you have more than one ciue selected QLab assumes you want those cues to be in the group.

Those users who like to have all cues inside timeline groups generally have a script which creates a group and puts the selected cue in it, handy!


Mic

Kalman Tarr

unread,
Oct 21, 2025, 4:23:39 AM (10 days ago) Oct 21
to QLab
Thanks for your replay Mic,
Reply all
Reply to author
Forward
0 new messages