Replacing a playback on the playback window

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

Moderator: Moderators

daanvg98
Posts: 18
Joined: 08 Sep 2018, 13:46

Replacing a playback on the playback window

Postby daanvg98 » 11 May 2025, 10:33

Hi,

I am trying to replace a playback on the playbacks window. Right now I use this command line:

<step pause="0.01">Playbacks.StoreCue("PlaybackWindow", 331, false)</step>

But titan says the playback allready in use, which is true. I tried using a different command from this site: https://api.avolites.com/11.0/Playbacks ... ckCue.html but als without succes. Does anyone have a fix for this?

Thanks
User avatar
Gregory
Posts: 1373
Joined: 14 Dec 2007, 15:25
Location: London, United Kingdom
Contact:

Re: Replacing a playback on the playback window

Postby Gregory » 12 May 2025, 11:06

Playbacks.ReplacePlaybackCue should be the correct function for what you have described. For example:

Code: Select all

Playbacks.ReplacePlaybackCue(userNumber:1, false)

This seems to do what I would expect, I had two dimmers with the first recorded in the playback, with the only the second dimmer in the programmer calling that replace function removed the first dimmer from the playback and added the second. The second parameter relates to only changing values which are already in the playback so in most cases I would expect false is what would be required. I'm testing in version 18 but I don't expect this has changed much since version 11.
daanvg98
Posts: 18
Joined: 08 Sep 2018, 13:46

Re: Replacing a playback on the playback window

Postby daanvg98 » 12 May 2025, 14:12

Thats works great! Thanks!

Who is online

Users browsing this forum: No registered users and 1 guest