macros:example:timecodelivetime
This is an old revision of the document!
Table of Contents
Example
Timecode - Set starttime to livetime and toggle source
by: | Roger Pique |
---|---|
published: | April 2020 |
description: | Sets Timecode 1 to TimecodeOne Live Time. |
remarks: | Useful for timecode shows where you temporarily need to disconnect from timecode without killing all playbacks, and be able to resume timecode operation later. See detailled description below. |
functions
affected properties
control structures
Code
- filename.xml
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro id="Wiki.Macros.SetTimecodeOneLiveTime" name="SetTimecodeOneLiveTime"> <description>Sets Timecode 1 to TimecodeOne Live Time.</description> <sequence> <step>Timecode.TimecodeOne.SetStartTime(Timecode.AsObservable(Timecode.TimecodeOne.LiveTime))</step> <step condition="Math.IsEqual(Timecode.TimecodeOne.IsControlAllowed, true)">Timecode.TimecodeOne.Reset()</step> <step>ActionScript.SetProperty.Enum("Timecode.TimecodeOne.Source", "Internal")</step> <step>Timecode.TimecodeOne.SetSource(Timecode.TimecodeOne.Source)</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
You could leave a comment if you were logged in.
macros/example/timecodelivetime.1723215432.txt.gz · Last modified: 2024/08/09 14:57 by icke_siegen