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

This is a place for people to share the custom macros they have written.

Moderator: Moderators

Jeroen_dereus
Posts: 6
Joined: 04 Apr 2018, 18:38

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

Postby Jeroen_dereus » 09 Jul 2024, 11:24

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
icke_siegen
Posts: 1131
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

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

Postby icke_siegen » 09 Jul 2024, 13:47

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>
Jeroen_dereus
Posts: 6
Joined: 04 Apr 2018, 18:38

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

Postby Jeroen_dereus » 12 Jul 2024, 20:09

Thanks icke.
Wanst able to respond sooner, sorry.

Who is online

Users browsing this forum: No registered users and 6 guests