Select all tracks inside selected folder?

Hello,

I am searching for a way to select all tracks inside the selected folder. I would need that for a macro/PLE but cannot find a way to do that. Maybe anyone has an idea?

1 Like

Hi,

Unfortunately I found only one way, which I don’t like myself at all.

First, you have to somehow “mark” the tracks inside of the folder. I was thinking, what properties can the tracks inside of the folder inherit from the folder (and also which property is available in the PLE as Filter Target). The only one I found is Event is Muted. So if you Mute the Folder track first, all tracks inside of the folder becomes muted too. Then you can select all muted track by using PLE.

So you would use a macro with two PLEs:


  1. Mute all tracks in the selected Folder track:
    Container Type is | Equal | FolderTrack | And
    Property | Property is set | Event is selected

Track Operation | Mute | Enable

Transform


  1. Select all Muted tracks
    Property | Property is set | Event is muted

Action Target is empty

Select


The disadvantage is, that you have to make sure there is no Muted track, before you start to do this, otherwise it will be selected too. You can use another PLE to unmute it, or just. command in your Macro: Edit > Deactivate All Mute States.

At the end, you should deactivate the Mute state again. So your Macro would look like this:

  1. Edit > Deactivate All Mute States.
  2. PLE > Mute all tracks in the selected Folder track
  3. PLE > Select all Muted tracks
  4. Edit > Deactivate All Mute States.

Note really elegant, I’m sorry. I couldn’t come to other solution.

No worries, thanks anyway for your help!
I think I found another way which works under all conditions, but I did not try that out yet. Got that advice from another user yesterday:

  • Select folder

then use this Macro:

  1. PLE > open folder (if it is closed, it gets opened, if it is opened nothing happens)
  2. PLE > Visibility > only show this folder and hide everything else (now you see only the folder and its tracks)
  3. PLE > select all audio/midi/etc. tracks in project (now all the tracks inside the folder get selected)
  4. PLE > Visibility > Unhide everything

Hi,

Good one. I always forget to use this Hide/Show tracks as a “marker”. :confused:

If you have tracks hidden in the folder this may not work for the ones that are hidden.


You can fix this though if you do want to also get the ones hidden in the folder by


-unhide all tracks in project

  1. PLE > open folder (if it is closed, it gets opened, if it is opened nothing happens)
  2. PLE > Visibility > only show this folder and hide everything else (now you see only the folder and its tracks)
  3. PLE > select all audio/midi/etc. tracks in project (now all the tracks inside the folder get selected)
    -undo visibility change
    -undo visibility change
    -unhide selected tracks > (tracks should still be selected)

This will also un-hide any hidden tracks in the folder and get you back to your previous visibility state before you executed the macro, and it should maintain the selection you want.

but I could be wrong.

lovegames that is beautiful!

And in 2020 still no easy solution for this simple function?
I mean, the folder is a great feature but lacks of simple things and what is more obvious to want to select tracks of a folder just with one command or click?
Asking the same question now in Greg’s hangout session. Maybe he has something to offer?

1 Like

Hi,

Do you want to select the tracks or the events? What is the exact use case please? What do you want to do next?

I agree, it wold be great if this was a built in function.

I think the protocol should operate so that the requirement is that either the folder track needs to be selected, and or, at least one track inside said folder.

There should maybe be a Select All Tracks in Folder (Deep) as well, which would also select sub-folders and their contents.

1 Like