I'm just trying to create a simple toolbar button that hides all unselected tracks when it's toggled ON and then shows everything again on OFF.
I don't understand why it's not working, what's wrong? I tried without the middle ENDIF command fwiw and it didn't help.