User Tools

Site Tools


macros:example:livetiming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
macros:example:livetiming [2018/08/31 04:57]
sideshowbond
macros:example:livetiming [2018/09/16 19:48] (current)
icke_siegen [Code]
Line 45: Line 45:
  
 <!-- live time macros example --> <!-- live time macros example -->
- <macro id="​adb.Macros.livetime1"​ name="​Live Time 1s">​ +  ​<macro id="​adb.Macros.livetime1"​ name="​Live Time 1s">​ 
- <​sequence>​ +    <​sequence>​ 
- <!-- Remove Halos --> +      <!-- Remove Halos --> 
- <​step>​Playbacks.Editor.Macros.SetTargetHandle("​adb.Macros.livetime0"​)</​step>​ +      <​step>​Playbacks.Editor.Macros.SetTargetHandle("​adb.Macros.livetime0"​)</​step>​ 
- <​step>​Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</​step>​ +      <​step>​Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</​step>​ 
- <​step>​Handles.RemoveHalo()</​step>​ +      <​step>​Handles.RemoveHalo()</​step>​ 
- <​step>​Playbacks.Editor.Macros.SetTargetHandle("​adb.Macros.livetime1"​)</​step>​ +      <​step>​Playbacks.Editor.Macros.SetTargetHandle("​adb.Macros.livetime1"​)</​step>​ 
- <​step>​Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</​step>​ +      <​step>​Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</​step>​ 
- <​step>​Handles.RemoveHalo()</​step>​+      <​step>​Handles.RemoveHalo()</​step>​
  
- <!-- repeat for macros as needed -->+      ​<!-- repeat for macros as needed --
 +       
 +      <!-- Set Times --> 
 +      <!-- Handles.SetSourceHandleRange(group,​ indexList) --> 
 +      <​step>​Handles.ClearSelection()</​step>​ 
 +      <​step>​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ null)</​step>
  
- <!-- Set Times --> +      ​<​step>​Handles.SetSourceHandle("​PlaybackWindow",​ 0)</​step>​ 
- <!-- Handles.SetSourceHandleRange(group,​ indexList) --> +      <step condition="​Playbacks.IsCueHandle(Handles.SourceHandle)">​ 
- <​step>​Handles.ClearSelection()</​step>​ +        ​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ Handles.SourceHandle)</​step>​ 
- <​step>​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ null)</​step>​ +      <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.PlaybackReleaseTime",​ time:​1)</​step>​ 
- +      <​step>​Playbacks.Editor.EnsurePlaybackCueSelected()</​step>​ 
- <​step>​Handles.SetSourceHandle("​PlaybackWindow",​ 0)</​step>​ +      <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.CueFadeInTime",​ time:​1)</​step>​
- <step condition="​Playbacks.IsCueHandle(Handles.SourceHandle)">​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ Handles.SourceHandle)</​step>​ +
- <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.PlaybackReleaseTime",​ time:​1)</​step>​ +
- <​step>​Playbacks.Editor.EnsurePlaybackCueSelected()</​step>​ +
- <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.CueFadeInTime",​ time:​1)</​step>​+
   
- <​step>​Handles.SetSourceHandle("​PlaybackWindow",​ 1)</​step>​ +      ​<​step>​Handles.SetSourceHandle("​PlaybackWindow",​ 1)</​step>​ 
- <step condition="​Playbacks.IsCueHandle(Handles.SourceHandle)">​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ Handles.SourceHandle)</​step>​ +      <step condition="​Playbacks.IsCueHandle(Handles.SourceHandle)">​ 
- <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.PlaybackReleaseTime",​ time:​1)</​step>​ +        ​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ Handles.SourceHandle)</​step>​ 
- <​step>​Playbacks.Editor.EnsurePlaybackCueSelected()</​step>​ +      <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.PlaybackReleaseTime",​ time:​1)</​step>​ 
- <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.CueFadeInTime",​ time:​1)</​step>​+      <​step>​Playbacks.Editor.EnsurePlaybackCueSelected()</​step>​ 
 +      <​step>​ActionScript.SetProperty("​Playbacks.Editor.Times.CueFadeInTime",​ time:​1)</​step>​
   
- <!-- repeat for playbacks as needed --> +      ​<!-- repeat for playbacks as needed --> 
- <​step>​Handles.ClearSelection()</​step>​ +       
- <!-- Set Halo --> +      ​<​step>​Handles.ClearSelection()</​step>​ 
- <​step>​Playbacks.Editor.Macros.SetTargetHandle("​adb.Macros.livetime1"​)</​step>​ +      <!-- Set Halo --> 
- <​step>​Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</​step>​ +      <​step>​Playbacks.Editor.Macros.SetTargetHandle("​adb.Macros.livetime1"​)</​step>​ 
- <​step>​Handles.SetPendingHaloToSystemColour("​Yellow"​)</​step>​ +      <​step>​Handles.SetSourceHandleFromHandle(Playbacks.Editor.Macros.Target.Handle)</​step>​ 
- <​step>​Handles.ClearSelection()</​step>​ +      <​step>​Handles.SetPendingHaloToSystemColour("​Yellow"​)</​step>​ 
- </​sequence>​ +      <​step>​Handles.ClearSelection()</​step>​ 
- </​macro>​+    </​sequence>​ 
 +  </​macro>​ 
 +  ​
 <!-- overlap macros --> <!-- overlap macros -->
- <macro id="​adb.Macros.liveOverlap50"​ name="​Live Overlap 50">​ +  ​<macro id="​adb.Macros.liveOverlap50"​ name="​Live Overlap 50">​ 
- <​sequence>​ +    <​sequence>​ 
- <!-- Set Overlap --> +      <!-- Set Overlap --> 
- <​step>​Handles.ClearSelection()</​step>​+      <​step>​Handles.ClearSelection()</​step>​
  
- <​step>​Handles.SetSourceHandle("​PlaybackWindow",​ 0)</​step>​ +      ​<​step>​Handles.SetSourceHandle("​PlaybackWindow",​ 0)</​step>​ 
- <step condition="​Playbacks.IsCueHandle(Handles.SourceHandle)">​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ Handles.SourceHandle)</​step>​ +      <step condition="​Playbacks.IsCueHandle(Handles.SourceHandle)">​ 
- <​step>​Playbacks.Editor.EnsurePlaybackCueSelected()</​step>​ +        ​ActionScript.SetProperty("​Playbacks.Editor.SelectedPlayback",​ Handles.SourceHandle)</​step>​ 
- <​step>​ActionScript.SetProperty.Float("​Playbacks.Editor.Times.CueFixtureOverlap",​ 0.5)</​step>​+      <​step>​Playbacks.Editor.EnsurePlaybackCueSelected()</​step>​ 
 +      <​step>​ActionScript.SetProperty.Float("​Playbacks.Editor.Times.CueFixtureOverlap",​ 0.5)</​step>​
   
- <!-- repeat for playbacks as needed --> +      ​<!-- repeat for playbacks as needed --> 
- <​step>​Handles.ClearSelection()</​step>​ +      <​step>​Handles.ClearSelection()</​step>​ 
- </​sequence>​ +    </​sequence>​ 
- </​macro>​+  </​macro>​
  
 </​avolites.macros>​ </​avolites.macros>​
macros/example/livetiming.txt · Last modified: 2018/09/16 19:48 by icke_siegen