One question: did you mean to use the "stop target when done" property
instead of the "stop target when loop ends" property? (The latter is
for the devamp cue.)
I think it would be fantastic if we started a collection of these
scripts on the Wiki. Anyone willing to get us started by creating a
new "Scripts & Macros" page?
Regarding setting a cue list, you'll need to pass in an actual cue
list, rather than a number.
Cheers,
Chris
________________________________________________________
WHEN REPLYING, PLEASE QUOTE ONLY WHAT YOU NEED. Thanks!
Change your preferences or unsubscribe here:
http://lists.figure53.com/listinfo.cgi/qlab-figure53.com
> One question: did you mean to use the "stop target when done"
> property instead of the "stop target when loop ends" property? (The
> latter is for the devamp cue.)
If you type "stop target when done" it gets changed to "stop target
when loop ends" when you compile it...
> I think it would be fantastic if we started a collection of these
> scripts on the Wiki. Anyone willing to get us started by creating a
> new "Scripts & Macros" page?
>
> http://figure53.com/wiki/
>
> Regarding setting a cue list, you'll need to pass in an actual cue
> list, rather than a number.
I think I tried that:
tell application "QLab"
set current cue list of workspace 1 to "Main Cue List"
end tell
Results in 'Can't make "Main Cue List" into type cue list' error.
I'm going to have another look at the bump script to get it to bump
fade cues too. If you have a sequence of play, fade in, fade down,
fade out, would the best way to change the overall level be to adjust
the Trim levels in the audio cue?
i have created a section on the qlab wiki to collect useful scripts
and script snippets. i think we should all pool our knowledge there. i
myself am working on a script which confirms that the screen saver,
energy saver, and sound preferences are set the way i like them before
running a show... sort of a pre-show computer check. i will post it
there once it's done.
way to go, chris, for adding these killer features, and way to go
everyone else for jumping in and sharing your spiffy ideas.
cheerio
sam
--
there can be hours between the so and the what of the so
http://www.notquite.net
say "Thirty minutes til places."
> tell application "QLab"
> set current cue list of workspace 1 to "Main Cue List"
> end tell
>
> Results in 'Can't make "Main Cue List" into type cue list' error.
To use the cue list's name the following should work:
tell application "QLab"
set the current cue list of workspace 1 to the first cue list in
workspace 1 whose q name is "Cue List 3"
end tell
or to use it's number try:
tell application "QLab"
set current cue list of workspace 1 to cue list 1 of workspace 1
end tell
Cheers,
David
> On 5 Sep 2009, at 20:05, Christopher Ashworth wrote:
>
>> One question: did you mean to use the "stop target when done"
>> property instead of the "stop target when loop ends" property?
>> (The latter is for the devamp cue.)
>
> If you type "stop target when done" it gets changed to "stop target
> when loop ends" when you compile it...
Ah, this is my fault then; I must have used the same AppleScript code
for both parameters. I'll fix this.
>> I think it would be fantastic if we started a collection of these
>> scripts on the Wiki. Anyone willing to get us started by creating
>> a new "Scripts & Macros" page?
>>
>> http://figure53.com/wiki/
>>
>> Regarding setting a cue list, you'll need to pass in an actual cue
>> list, rather than a number.
>
> I think I tried that:
>
> tell application "QLab"
> set current cue list of workspace 1 to "Main Cue List"
> end tell
>
> Results in 'Can't make "Main Cue List" into type cue list' error.
This is the name of the cue list, but it is not the actual cue list
itself. (See David's previous post for how to set the cue list.)
> I'm going to have another look at the bump script to get it to bump
> fade cues too. If you have a sequence of play, fade in, fade down,
> fade out, would the best way to change the overall level be to
> adjust the Trim levels in the audio cue?
Yes, although there is not currently scripting access to the trim. I
can add that too.
-C
> tell application "QLab"
> set the current cue list of workspace 1 to the first cue list in
> workspace 1 whose q name is "Cue List 3"
> end tell
That did it: thank you! One little bug though: the highlighted cue
list in the Cue List drawer doesn't change to match the displayed cue
list when you use a script...
Rich
> I'm going to have another look at the bump script to get it to bump
> fade cues too.
That was actually really easy (like everything in QLab!):
-- Level bump macro
tell application "QLab"
set theSelection to selected of workspace 1
repeat with eachCue in theSelection
if q type of eachCue is "Audio" or q type of eachCue is "Fade" then
tell workspace 1
set currentLevel to eachCue getLevel row 0 column 0
set newLevel to currentLevel + 2.5 -- Change this number to adjust
bump size
eachCue setLevel row 0 column 0 db newLevel
end tell
end if
end repeat
end tell
Rich
I tried pasting them into the Apple Script editor and got the same thing.
(with the editor highlighting the number at the end of the first line ending
with " selected of workspace 1")
Thanks -
Dave Tosti-Lane
On SaturdaySep/5,SaturdaySep/5:156 PM 1:56 PM, "Christopher Ashworth"
One thing this could be is if you have changed the name of your QLab
application icon you'll need to edit the name in the script as well.
Or it might be something completely different. Unfortunately, I find
that when one is writing AppleScripts one spends a lot of time
stumbling around in the dark. :/
-C
On Sep 5, 2009, at 6:17 PM, Dave Tosti-Lane wrote:
> I think I must be missing something dead simple and stupid - I've
> not really
> done much with applescript before.
> When I copy the script examples and paste them into the Applescript
> box in
> the script cue, I always get compile errors that say "expected end
> of line
> but got number"
> Could this be because of the cut and paste? Do I need to type them
> in so as
> to have the hard returns perhaps? (well, I tried that and got the same
> result)
>
> I tried pasting them into the Apple Script editor and got the same
> thing.
> (with the editor highlighting the number at the end of the first
> line ending
> with " selected of workspace 1")
>
> Thanks -
> Dave Tosti-Lane
________________________________________________________
I'd totally forgotten that I had renamed it "QLab2" back when I first
upgraded so I could have both 1 and 2 in the dock and distinguish between
them!
Modified that in the script and everything works like a charm.
Thanks Chris.
Dave
On SaturdaySep/5,SaturdaySep/5:421 PM 4:21 PM, "Christopher Ashworth"
--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
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.
For more options, visit https://groups.google.com/groups/opt_out.
The specific situation is a set of mic on/off cues that I would like to be able to bump levels via hotkey on just those cues.
I like that. But how can I adjust the levels? A dB up or down.
Sorry, the level bump (which you made) seems to be just selected cues. Can that one be adjusted to apply to a set of cues?
file:///Users/macbookretina/Desktop/Screen%20Shot%202016-11-11%20at%2013.36.59.png