Fire a Cuelist in Playbackwindow with 100% level

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

Moderator: Moderators

User avatar
kimwida
Posts: 232
Joined: 05 Aug 2016, 16:26
Location: Seoul

Fire a Cuelist in Playbackwindow with 100% level

Postby kimwida » 26 May 2020, 10:38

When you fire a cuelist in a playbackwindow (not in a fader), you will find that it does not work with any chase which is autoloaded in it.
That's becuase you can't level up the cuelist, it's just a button without a fader.

This code fires 2nd page's first playback cuelist with 100% level. And it makes the cuelist to be connected and shows the cuelist in playback view.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="Run_1_Cuelist">
    <name>Run 1 Cuelist</name>
    <sequence>
      <step pause="0.01"> Playbacks.FirePlaybackAtLevel(Handles.GetHandle("PlaybackWindow",1,0), 1, true)</step> 
      <step pause="0.01">ConnectedPlayback.Connect(Handles.GetHandle("PlaybackWindow",1,0))</step>
       <step pause="0.01">Wheels.ForceConnectedPlaybackView()</step>
   </sequence>
  </macro>
</avolites.macros>


Actually, I am not sure about "Wheels.ForeceConnectedPlaybackView". But at least it works for me.

And you can use this macro to release the cuelist.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="Release_1_Cuelist">
    <name>Release 1 Cuelist</name>
    <sequence>
      <step pause="0.01">Playbacks.ReleasePlayback(Handles.GetHandle("PlaybackWindow",1,0),  Playbacks.MasterReleaseTime, true)</step>
    </sequence>
  </macro>
</avolites.macros>


Maybe some of you can save some faders.

More information
https://api.avolites.com/12.0/Playbacks ... Level.html
https://api.avolites.com/12.0/Connected ... nnect.html
https://api.avolites.com/12.0/Playbacks ... yback.html

Who is online

Users browsing this forum: No registered users and 1 guest