Page 1 of 1

Replacing StaticPlaybacks

Posted: 03 Feb 2026, 21:09
by zzjarnozz
Good evening,

I want to create a macro that deletes the current playback that is running on the static playback button 1 on my T3 and replace it with a different playback from my playback window.
I've looked around abit and stuck some bits together but i'm stuck at deleting the playback and have als not got it to copy the other playback.
This is what i've got right now.

<?xml version="1.0" encoding="UTF-8"?>
<avolites.macros>
<macro id="UserMacro.Replacer1">
<name>Replacer1</name>
<sequence>
<step pause="0.01">Handles.SetSourceHandleFromHandle("StaticPlaybacks", 1)</step>
<step pause="0.01">Handles.ConfirmDelete()</step>
<step pause="0.01">Handles.SetSourceHandleFromHandle("Playbacks", 10)</step>
<step pause="0.01">ActionScript.SetProperty.Enum("Handles.OperationMode", "copy")</step>
<step pause="0.01">Handles.CopyDestination("StaticPlaybacks", 1)</step>
<step pause="0.01">Handles.ClearSelection()</step>
</sequence>
</macro>
</avolites.macros>

Any help is appreciated. Im a nooby at creating macro's. :oops:

Re: Replacing StaticPlaybacks

Posted: 04 Feb 2026, 14:09
by icke_siegen
The function Handles.SetSourceHandleFromHandle requires a full handle, e.g.

Code: Select all

Handles.SetSourceHandleFromHandle(handle:"Location=StaticPlaybacks,1,1")
. This way it would work on any page in the designated window, with the handles being counted from 1 up.

In turn the function Handles.SetSourceHandle only needs window and handle number (0-based), and always works on the current page. In your case it would be

Code: Select all

Handles.SetSourceHandle("StaticPlaybacks", 0)


Additionally the location "Playbacks" refers to the playbacks on the real faders. If you want to address the playbacks windows you'd need to use "PlaybackWindow".

Something like this should do what you want:

Code: Select all

<step pause="0.01">Handles.SetSourceHandle("StaticPlaybacks", 0)</step>
<step pause="0.01">Handles.ConfirmDelete()</step>
<step pause="0.01">Handles.SetSourceHandle("PlaybackWindow", 9)</step>
<step pause="0.01">ActionScript.SetProperty.Enum("Handles.OperationMode", "copy")</step>
<step pause="0.01">Handles.CopyDestination("StaticPlaybacks", 0)</step>
<step pause="0.01">Handles.ClearSelection()</step>

Re: Replacing StaticPlaybacks

Posted: 04 Feb 2026, 21:23
by zzjarnozz
Thanks for the response!

It does delethe the playback on the static playback window now. But it doesn't copy over the playback from the playback window.

Re: Replacing StaticPlaybacks

Posted: 05 Feb 2026, 10:37
by icke_siegen
well, it does work for me: please note that ("PlaybackWindow", 9) points to button 10 in the Playbacks window (that's what is called 0-based)

Re: Replacing StaticPlaybacks

Posted: 05 Feb 2026, 10:39
by icke_siegen
well, it does work for me: please note that ("PlaybackWindow", 9) points to button 10 in the Playbacks window (that's what is called 0-based)

Can you pelase try again? if it still doesn't work then the logs might help...

Re: Replacing StaticPlaybacks

Posted: 05 Feb 2026, 21:04
by zzjarnozz
It worked, Thank you! :D

I didn't know what 0 based ment. Thansk for explaining it.