macro copy replace group in playback and how to highlight macros ?

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

Moderator: Moderators

Andrés Félix
Posts: 6
Joined: 16 Nov 2019, 22:14
Location: Lisboa
Contact:

macro copy replace group in playback and how to highlight macros ?

Postby Andrés Félix » 17 Aug 2023, 14:44

Hi im very new in avo macros and i try to understand how to work?
i create a color piquer ( 5 cue list for tipe of fixture with 18 cues the colors )Image
https://drive.google.com/file/d/1PexhPN ... drive_link
in layout view craete a matrix with macros "go to cue x" ( 6 rows 1 All 2 spot 3 wash 4 beam 5 strob (jdc1) 6 rgb bar, and 18 colums for color)
and create macros to change fade time and anothers for overlap .
now im try to change de direction of the overlap ?Image
https://drive.google.com/file/d/1NAmY6b ... drive_link
i try in replace or merge another group (only fixture order is change) but steel not work.
and how i highlight macros ?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
<macro id="UserMacro.Allwhite">
    <name>ALL WHITEv2</name>
    <sequence>
      <step>CueLists.SetNextCue(userNumber:4, 1.0)</step>
      <step>CueLists.Play(userNumber:4)</step>
      <step>Handles.HighlightHandle(handle:"Location=PlaybackWindow,60,1")</step>
      <step>CueLists.SetNextCue(userNumber:5, 1.0)</step>
      <step>CueLists.Play(userNumber:5)</step>
      <step>Handles.HighlightHandle(handle:"Location=PlaybackWindow,60,1")</step>
      <step>CueLists.SetNextCue(userNumber:6, 1.0)</step>
      <step>CueLists.Play(userNumber:6)</step>
      <step>Handles.HighlightHandle(handle:"Location=PlaybackWindow,60,1")</step>
      <step>CueLists.SetNextCue(userNumber:7, 1.0)</step>
      <step>CueLists.Play(userNumber:7)</step>
      <step>Handles.HighlightHandle(handle:"Location=PlaybackWindow,60,1")</step>
      <step>CueLists.SetNextCue(userNumber:8, 1.0)</step>
      <step>CueLists.Play(userNumber:8)</step>
      <step>Handles.HighlightHandle(handle:"Location=PlaybackWindow,60,1")</step>
    </sequence>
  </macro>
</avolites.macros>


Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="Fadeintime 0s" name="Fade 0s">
    <sequence>
      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,60,1")</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,1")</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.Times.CueFadeInTime", time:0.0)</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,60,2")</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,2")</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.Times.CueFadeInTime", time:0.0)</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,60,3")</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,3")</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.Times.CueFadeInTime", time:0.0)</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,60,4")</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,4")</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.Times.CueFadeInTime", time:0.0)</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,60,5")</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,5")</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.Times.CueFadeInTime", time:0.0)</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,60,8")</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,6")</step>
      <step>ActionScript.SetProperty("Playbacks.Editor.Times.CueFadeInTime", time:0.0)</step>
    </sequence>
  </macro>
</avolites.macros>


Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
 <!-- SELECT ALL CUE OFF ALL 6 PLAYBACK PAGE 60 AND CHANGE OVERLAP ANDRÉS FÉLIX-->
  <macro id="100Overlap">
    <name>100% Overlap</name>
    <sequence>
      <step>Handles.ClearSelection()</step>
      <step>Handles.SetSourceHandle("PlaybackWindow", 60)</step>
      <step condition="Playbacks.IsCueHandle(Handles.SourceHandle)">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", Handles.SourceHandle)</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,1")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,2")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,3")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,4")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,5")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,6")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>ActionScript.SetProperty.Float("Playbacks.Editor.Times.CueFixtureOverlap", 1)</step>
      <step>Handles.ClearSelection()</step>
    </sequence>
  </macro>
  <macro id="50Overlap">
    <name>50% Overlap</name>
    <sequence>
      <step>Handles.ClearSelection()</step>
      <step>Handles.SetSourceHandle("PlaybackWindow", 60)</step>
      <step condition="Playbacks.IsCueHandle(Handles.SourceHandle)">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", Handles.SourceHandle)</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,1")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,2")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,3")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,4")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,5")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,6")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>ActionScript.SetProperty.Float("Playbacks.Editor.Times.CueFixtureOverlap", 0.5)</step>
      <step>Handles.ClearSelection()</step>
    </sequence>
  </macro>
   <macro id="0Overlap">
    <name>0% Overlap</name>
    <sequence>
      <step>Handles.ClearSelection()</step>
      <step>Handles.SetSourceHandle("PlaybackWindow", 60)</step>
      <step condition="Playbacks.IsCueHandle(Handles.SourceHandle)">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", Handles.SourceHandle)</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,1")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,2")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,3")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,4")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,5")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>Playbacks.Editor.CueSelection.SelectAll(handle:"Location=Playbacks,60,6")</step>
      <step>Playbacks.Editor.EnsurePlaybackCueSelected()</step>
      <step>ActionScript.SetProperty.Float("Playbacks.Editor.Times.CueFixtureOverlap", 0)</step>
      <step>Handles.ClearSelection()</step>
    </sequence>
  </macro>
</avolites.macros>


If someone can helpme ?

Who is online

Users browsing this forum: No registered users and 13 guests