Page 1 of 1

How to include a cue from a cuelist?

Posted: 16 Feb 2019, 13:24
by icke_siegen
Trying to include a cue from a cuelist like this (have tried some other variants without success):

Code: Select all

    <step>Include.SelectPlaybackCue("Location=Playbacks,1,1,1")</step>


However this doesn't work ('not a playback cue handle'). I really could do with a hint - thanks :)

Re: How to include a cue from a curelist?

Posted: 16 Feb 2019, 17:53
by icke_siegen
Follow-on question:

now I try to include this cuelist's cue 1. I got it working like this:

Code: Select all

    <step>Include.SelectPlaybackHandle(this)</step>
    <step>ActionScript.SetProperty("Include.StepNumber", 1.0)</step>
    <step>Include.SelectStep()</step>


Is there a more elegant way? To me this looks like a mixture of old and new syntax...

Re: How to include a cue from a cuelist?

Posted: 06 Mar 2019, 00:05
by Gregory
What you have is pretty much the best way to do it, it is somewhat older syntax (i.e. setting properties then executing the command) as the include menu has not changed significantly in a while.

An alternative way of including would be the following:

Code: Select all

Playbacks.Editor.CueSelection.SelectCueByNumber(Handles.GetHandle("PlaybackWindow",0,1), 1.0)
Include.SelectPlaybackCue(Playbacks.Editor.ContextCue)