Hi there, I have a LPE set up for showing and hiding all kinds of used to unused tracks, which works great .
My question is, is there a way to hide unused or tracks without data, which are currently being displayed in the range window.
My example, is I open a folder, and all of its contents, I have lots of other tracks, inactive and hidden with the visibility agent.
This folder contains some tracks which have data some tracks which are disabled and some tracks without data, I simply want to show the contents of this folder, but only its tracks with data.
The problem I’m having with my current LPE script , if I run show only tracks with data, it shows all the tracks in the project, not just the tracks in the folder I have open .
sorry if thats not clear 
Hi,
Try this one:
( Container Type is | Equal | Track | And
Property | Property Is Set | Is Empty )
Track Operation | Hide Track | Enable
Transform
1 Like
Hi Martin , That is working thank you , but I just spotted its also hiding my 2nd Ruler ?
Hi,
Unfortunately there is no Media Type > Ruler, so you cannot do something like:
... | And
Media Type is | Unequal | Ruler )
But… Every Ruler track can be spotted by:
Name | Contains | Ruler
In your case, you want to exclude the rulers, so it would look like this:
Name | Contains Not | Ruler
Or, you can hide just the Audio and MIDI tracks by adding these lines:
Media Type | Equal | Audio | And
Media Type | Equal | MIDI | And
… In this case, you can also add Automation or other track type, you want to filter.
1 Like
Thats it … ! thank you
(I did try the Midi/Audio thing but still the rule got hidden)
1 Like
I think the only way is two steps
first show only the folder you want to see
for my example only show strings
and then select
show channel tracks with data
and it works