macros:example:playbacktoggletimecode
This is an old revision of the document!
Table of Contents
Toggle Timecode On/Off for particular playback
by: | Gregory Haynes, May 2016 |
---|---|
published: | http://forum.avolites.com/viewtopic.php?f=20&t=4517 |
description: | Toggle whether the cue list on handle 1 of the current page is enabled for timecode. |
remarks: | The original idea was to toggle a cuelist which is identified by its legend - but that's not possible. Greg writes '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”).' |
functions
Code
- togglePbTimecode.xml
<?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>
Explanation
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
tbd
How to use it
macros/example/playbacktoggletimecode.1509294946.txt.gz · Last modified: 2017/10/29 16:35 by icke_siegen
Discussion
Tested in Titan 10.1 - works as expected.