Page 1 of 1

Replace a excisting playback in the playback window

Posted: 10 May 2025, 14:14
by daanvg98
Hi,

I am trying to create a macro that replaces 2 seperate playbacks (or more). Right now I have to following:

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
<macro id="Flash White 1/2" name="Update Flash 1/2">
<sequence>
<step pause="0.01">Group.RecallGroupNumeric(2001)</step>
<step pause="0.01">Palette.ApplyPalette("Location=Colours,1,400", false)</step>
<step pause="0.01">Palette.ApplyPalette("Location=Beams,1,123", false)</step>
<step pause="0.01">Palette.ApplyPalette("Location=Beams,1,166", false)</step>
<step pause="0.01">Playbacks.StoreCue("PlaybackWindow", 330, false)</step>
<step pause="0.01">Programmer.Editor.Clear(Attribute.Mask.Clear.Value, Programmer.Editor.Fixtures.Clear.Presets,
false, Expert.ClearMenu.FadeTime)</step>
<step pause="0.01">Group.RecallGroupNumeric(2002)</step>
<step pause="0.01">Palette.ApplyPalette("Location=Colours,1,400", false)</step>
<step pause="0.01">Palette.ApplyPalette("Location=Beams,1,123", false)</step>
<step pause="0.01">Palette.ApplyPalette("Location=Beams,1,166", false)</step>
<step pause="0.01">Playbacks.StoreCue("PlaybackWindow", 331, false)</step>
<step pause="0.01">Programmer.Editor.Clear(Attribute.Mask.Clear.Value, Programmer.Editor.Fixtures.Clear.Presets,
false, Expert.ClearMenu.FadeTime)</step>
</sequence>
</macro>
</avolites.macros>

When running the macro it says: Handle is in use for cue 329 'Flash 1/2 1'
It probably says it because it can't store a new cue, which makes sense. I want to replace the current playback, because it is a playback that gets autoloaded into a cue list. I have tried another code line but can't get it to work. I used the following 2 codes which I got from:
- https://api.avolites.com/11.0/Playbacks ... ckCue.html
- https://api.avolites.com/11.0/Playbacks ... Build.html

I can't figure it out, maybe you can! :)

Thanks!

Re: Replace a excisting playback in the playback window

Posted: 27 May 2025, 11:19
by R v Daal
Hello daan,

I am looking for the same thing and try to write it on this moment.
try This lines for recording.
<step>Playbacks.MergePlaybackCue("userNumber:1001", true)</step> [for merge Playback]
<step>Playbacks.ReplacePlaybackCue(userNumber:1001, false) [for replace pallet]

i find it totay and i wil try it tonight.