Settings window

14 views
Skip to first unread message

Kalman Tarr

unread,
4:28 AM (9 hours ago) 4:28 AM
to QLab
Hi pros,

I'd like to solve the following problem.
I write a script which do something.(It doesn't matter what it actually does.) But at the start of the script have to set the Group cue mode paramerter in the Settings window of Qlab app.

A scripit make new group cues at run. But the default group mode in Settings is 'timeline'. It isn't right for me.

I know there are two way to set group mode at Templates.
The first one: open the window manuallly and set the desired  mode.
The second one: you need to write a script.

I wrote a script. It is working good  but I can't avoide to call Settings window. (I do not wanna attach the whole script.)
Well, my question is the next: there is a way to set group mode without having to open Settings window?
Hopefully my question is relevant.
Thanks  in advance to your reply.

Best,
Kalman

Sam Kusnetz

unread,
8:25 AM (5 hours ago) 8:25 AM
to ql...@googlegroups.com
It's easier to set the mode of the Group cue after creating it?

make front workspace type "Group"
set newCue to last item of (selected of front workspace as list)
set mode of newCue to start_first


Best
Sam

Sam Kusnetz (he/him) | Figure 53



--
Contact support anytime: sup...@figure53.com
User Group Code of Conduct: https://qlab.app/code-of-conduct/
 
Instagram: https://www.instagram.com/Figure53
TikTok: https://www.tiktok.com/@QLab.app
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/7a562349-6927-470e-b947-7f7b59517e39n%40googlegroups.com.

Kalman Tarr

unread,
11:16 AM (2 hours ago) 11:16 AM
to QLab
Thank you Sam! This is an unbelievable never seen for me solution!
What a great job! 
Thanks again!

Sincerely,
Kalman

Kalman Tarr

unread,
12:11 PM (1 hour ago) 12:11 PM
to QLab
Sam I found a little problem.
 When I choose 'playlist' group mode and want to change the crossfade duration parameter, does not allow setting to less than 3.0 second using script. (3 secs the default value) Manually I can do. In script to set the param  over 3 seconds, it is allowed.
You know, I put video cues in it. Set the duration to 7 secs. The problem stil persist.
Any idea?

Best,
Kalman

Rich Walsh

unread,
12:31 PM (1 hour ago) 12:31 PM
to ql...@googlegroups.com
Bug? You can not set the value to below 3 with AppleScript:

tell application id "com.figure53.QLab.5"

tell front workspace

repeat with i from 0 to 50

make type "Group"

set newCue to last item of (selected as list)

set mode of newCue to playlist

set playlist crossfade duration of newCue to i / 10

set actualValue to playlist crossfade duration of newCue

log i / 10 & " > " & actualValue

end repeat

end tell

end tell


Example results:

(*2.8,  > , 3.0*)

(*2.9,  > , 3.0*)

(*3.0,  > , 3.0*)

(*3.1,  > , 3.1*)

(*3.2,  > , 3.2*)


Rich
Reply all
Reply to author
Forward
0 new messages