Playback View Colums Macro

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

Moderator: Moderators

User avatar
kimwida
Posts: 248
Joined: 05 Aug 2016, 16:26
Location: Seoul

Playback View Colums Macro

Postby kimwida » 18 Sep 2019, 04:12

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 20057 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>

Who is online

Users browsing this forum: No registered users and 2 guests