Page 1 of 1

Playback View Colums Macro

Posted: 18 Sep 2019, 04:12
by kimwida
1. Record a playback in first slot of second playbacks window page.
2. Set On "Column Filters Visible" in Playback View.
3. Edit Columns and save it.
Filter.JPG
Filter.JPG (24.12 KiB) Viewed 20561 times

4. Select a filter.
5. Run the macro.

Code: Select all

   <macro id="Get_FilterID">
    <name>Get FilterID</name>
    <sequence>
      <step pause="0.01">Handles.SetSourceHandleFromHandle(handle:"Location=PlaybackWindow,2,1")</step>
      <step pause="0.01">ActionScript.SetProperty("Handles.PendingLegend", Math.ToString(PlaybackView.SelectedFilterId))</step>
      <step pause="0.01">Handles.SetLegend()</step>
      <step pause="0.01">Handles.ClearSelection()</step>
   </sequence>
  </macro>


6. You see the filter id on first playback of second playbacks window page.
7. Run the macro for the filter. 70687 is the selected filter id.

Code: Select all

  <macro id="Filter_Mine">
    <name>Filter Mine</name>
    <sequence>
      <step pause="0.01">ActionScript.SetProperty("PlaybackView.SelectedFilterId", 70687)</step>
    </sequence>
  </macro>
</avolites.macros>