Page 1 of 1

How to add a macro to a cuelist cue by macro

Posted: 07 Feb 2019, 18:39
by icke_siegen
As part of a larger 'setup my show for me' macro we want to add a macro to a cuelist cue.

This is what I am currently trying:

Code: Select all

ActionScript.SetProperty("Playbacks.PlaybackEdit.Handle",(Handles.GetHandle("PlaybackWindow",0,1)))
ActionScript.SetProperty("Playbacks.PlaybackEdit.CurrentStep",1.0)
Playbacks.Editor.Macros.SetTargetHandle("Avolites.Macros.SnapForward")
Playbacks.Editor.Macros.AddLink(Playbacks.Editor.Macros.Target.Handle)


However, it doesn't work, and the log says
System.NullReferenceException... at Avolites.Titan.Controllers.Editor.Playbacks.PlaybackMacroEditor.AddLink(Handle handle)
. But which object is missing? Thanks in advance for your help!

Sebastian