Connect <CueList-Name> to Timecode Macro

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

Moderator: Moderators

millull
Posts: 1
Joined: 20 May 2016, 09:02

Connect <CueList-Name> to Timecode Macro

Postby millull » 20 May 2016, 09:10

Good morning!

Could someone please help in writing a .xml Macro to connect/disconnect a specific CueList (identified by legend) to the timecode?

I have seen other topics where tricks like applying a different hour to every song can be used, but I have over 24 songs, so that does not work (plus I think it is not the best option anyway..). Recording a button press macro is not a good idea in this case because CueLists can change location and order, so eventually it'd stop working.
Also, I have found the macro to enable and disable timecode, but not one to connect a specific CueList

Thanks very much in advance!

Cheers!

Miquel.
User avatar
Gregory
Posts: 1300
Joined: 14 Dec 2007, 15:25
Location: London, United Kingdom
Contact:

Re: Connect <CueList-Name> to Timecode Macro

Postby Gregory » 24 May 2016, 23:58

I don't think there is a way to do this at the moment. I found a way of toggling a playback based on its location but it uses the current page, you could use the Playbacks window instead (which would be "PlaybackWindow").

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="UserMacro.TogglePlaybackTimecode">
    <name>Toggle Timecode Enabled</name>
    <description>Toggle whether the cue list on handle 1 of the current page is enabled for timecode.</description>
    <sequence>
      <step>Handles.SetSourceHandle("Playbacks", 0)</step>
      <step>Playbacks.Timecode.ToggleEnabled.Handle(Handles.SourceHandle)</step>
      <step>Handles.SetSourceHandleFromHandle(null)</step>
    </sequence>
  </macro>
</avolites.macros>

Who is online

Users browsing this forum: No registered users and 26 guests