Page 1 of 1

Macro to disable/enable certain cue's from cue list

Posted: 09 Jul 2024, 11:24
by Jeroen_dereus
Hi,

Working on some new macro's but need some help.

Want to disable/enable certain cue's from a cue list. i dont no the string for it, and cant find it here.

thank you in advance for helping me.

Jeroen

Re: Macro to disable/enable certain cue's from cue list

Posted: 09 Jul 2024, 13:47
by icke_siegen
The string you are looking for is probably Playbacks.Editor.Times.Disabled

Example (just tested - these macros enable/disable cue #10 in cuelist UN 100):

Code: Select all

<macro name="__PB 100 enable cue 10" id="Wiki.Macros.PB100.Cue10On">
  <sequence>
    <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"playbackHandleUN=100")</step>
    <step>Playbacks.Editor.CueSelection.SelectCueByNumber(handle:"playbackHandleUN=100", 10)</step>
    <step>ActionScript.SetProperty.Boolean("Playbacks.Editor.Times.Disabled", false)</step>
  </sequence>
</macro>

<macro name="__PB 100 disable cue 10" id="Wiki.Macros.PB100.Cue10Off">
  <sequence>    
    <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"playbackHandleUN=100")</step>
    <step>Playbacks.Editor.CueSelection.SelectCueByNumber(handle:"playbackHandleUN=100", 10)</step>
    <step>ActionScript.SetProperty.Boolean("Playbacks.Editor.Times.Disabled", true)</step>
  </sequence>
</macro>

Re: Macro to disable/enable certain cue's from cue list

Posted: 12 Jul 2024, 20:09
by Jeroen_dereus
Thanks icke.
Wanst able to respond sooner, sorry.