Old 06-01-2019, 03:02 AM   #1
Breeder
Human being with feelings
 
Breeder's Avatar
 
Join Date: Nov 2010
Location: Croatia
Posts: 2,113
Default Track visibility management script set

Here's a complete script set to manage track visibility in big projects:

Code:
Track Visibility - Options - Toggle 'Clear track visibility slot when saving all visible or all hidden tracks'.lua
Track Visibility - Options - Toggle 'Include track's parent tracks'.lua
Track Visibility - Options - Toggle 'Include track's receives when setting visibility'.lua
Track Visibility - Options - Toggle 'Include track's sends when setting visibility'.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 01.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 02.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 03.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 04.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 05.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 06.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 07.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 08.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 09.lua
Track Visibility - Save-restore - Restore all tracks visibility, slot 10.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 01.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 02.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 03.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 04.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 05.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 06.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 07.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 08.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 09.lua
Track Visibility - Save-restore - Save all tracks visibility, slot 10.lua
Track Visibility - Show all tracks.lua
Track Visibility - Show only selected tracks and tracks with items at edit cursor.lua
Track Visibility - Show only selected tracks and tracks with items in time selection.lua
Track Visibility - Show only selected tracks and tracks with items.lua
Track Visibility - Show only selected tracks and tracks with selected items at edit cursor.lua
Track Visibility - Show only selected tracks and tracks with selected items in time selection.lua
Track Visibility - Show only selected tracks and tracks with selected items.lua
Track Visibility - Show only selected tracks.lua
Track Visibility - Show only tracks with items at edit cursor.lua
Track Visibility - Show only tracks with items in time selection.lua
Track Visibility - Show only tracks with items.lua
Track Visibility - Show only tracks with selected items at edit cursor.lua
Track Visibility - Show only tracks with selected items in time selection.lua
Track Visibility - Show only tracks with selected items.lua
Download here and don't forget to install SWS extensions if you haven't already because these scripts need it.
  • Options to include parents/sends/receives work for all actions, even slot actions. That means that if you save track visibility when just a child track is visible, restoring that same slot might show both the child and the parent (if option to include track's parent is turned on).

  • If no data was saved for current slot, restoring from that slot will show all tracks in the project. To reset/clear already saved slot, make sure the option Clear track visibility slot when saving all visible or all hidden tracks is turned on (using one of the scripts from this set) and then simply save track visibility when all tracks are shown or hidden.

  • Slots are saved per-project so you can have different visibility sets saved for different projects. Would be silly if this wasn't the case, but mentioning here just in case.

  • Scripts don't have a direct way of asking REAPER to set their state on program startup so four options script from this set will show toggle state only after they are run at least once, but whatever option you set will be preserved through REAPER restarts no matter their visible toggle state. To have their toggle state appropriately shown (so you can actually know the state of the option if you put them in menus or toolbars), you can use SWS global startup action feature for this:
    Simply create one custom macro that you will assign as a global startup action using the action SWS/S&M: Set global startup action. After that, just make sure each option script is run twice in that custom macro (running it twice so the option is not toggled back and REAPER registers their appropriate toggle state). Oh, and REAPER might ask you what to do if the script is already running. Just select 'New instance' and check 'Remember my answer for this script'. I'm talking about this (click to see image)


A lot of effort has been invested in this. If you seriously use it, please consider supporting the developer. Thank you!

I don't mind if someone puts this set in ReaPack, but please include my donation link, forum nickname and link to this thread in the description if you do so.

__________________
My contributions

Last edited by Breeder; 07-04-2019 at 11:08 AM.
Breeder is offline   Reply With Quote
Old 06-01-2019, 03:03 AM   #2
Breeder
Human being with feelings
 
Breeder's Avatar
 
Join Date: Nov 2010
Location: Croatia
Posts: 2,113
Default

This is what it looks like set up in my menus:


Breeder is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.