This Macro doesn’t close Folders and keeps track selection state (renamable tracks only).
Macro - Hide All Automaion
Process Project Logical Editor - Rename Tracks - Prepend ! //marking selected tracks, renamable tracks only
Process Project Logical Editor - Select All Tracks
Automation - Hide Automation
Process Project Logical Editor - Select Tracks - Name Contains ! //selecting marked tracks
Process Project Logical Editor - Rename Tracks - Delete !
PLE Preset - Select All Tracks //All Tracks = Automation related Tracks
Filter Target:
Container Type is Equal Track and
(Media Type is Equal Audio or MIDI or Group or Effect or Device or VCA)
Action Target: Empty
Function: Select
PLE Preset - Rename Tracks - Delete !
Filter Target:
(Container Type is Equal FolderTrack or Track) and
Property Property is set Event is selected
Action Target: Name Replace Search String ! //Parameter 2 = empty
Function: Transform
One of the other Macros used in the gif.
Macro - Show All Volume Automation
Process Project Logical Editor - Rename Tracks - Prepend !
Automation - Show All Volume Automation
Automation - Show All Volume Automation
Process Project Logical Editor - Select Tracks - Name Contains !
Process Project Logical Editor - Rename Tracks - Delete !
//
and a small one.
PLE Preset - Hide All Lanes
Filter Target: Container Type is Equal Track
Action Target: Track Operation Lanes Active Disable
Function: Transform