View Single Post
Old 05-27-2019, 09:02 AM   #2966
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 5,033
Default

Quote:
Originally Posted by MixMonkey View Post
Happy with the idea, not quite seeing how
Code:
DrillDownButton GoSubZone "VST: ReaComp (Cockos)" ReaCompSubZone
means that the SubZone gets deactivated when its parent is deactivated or is this in some way implicit?

Are you sure about "SubSubZone"? Perhaps "SubZone1" "SubZone2" etc

It would be nice to be able to jump directly to SubZone2 without having to DrillDown through SubZone1. I guess i'm asking for direct SubZone access in the same manner as direct Zone or Page access.

What do you think?
Yeah, I clearly did a terrible job of explaining this, you do have direct access, SubZone and SubSubZone are just arbitrary names I used (obviously to no good effect)

It's extremely simple:

Code:
   DrillDownButton GoSubZone "VST: ReaComp (Cockos)" ReaCompSubZone
Just means Activate the Zone named ReaCompSubZone.

There is nothing special in the Zone names, hell, you could even say this although it's probably not the wisest move:

Code:
   DrillDownButton GoSubZone "VST: ReaComp (Cockos)" Home
The parameter "VST: ReaComp (Cockos)" is the simply name of the parent Zone that you are registering this Zone with.

So the line above says Activate Home, just like usual.

The addition is the fact that when "VST: ReaComp (Cockos)" is Deactivated, Home also gets Deactivated

It's really just a tag that says "I belong to this group, so when my parent Deactivates, so should I".
__________________
CSI - You can donate here: geoffwaddington.ca
Beta software: https://stash.reaper.fm/v/38349/CSI%20beta.zip
installation and documentation here: https://github.com/malcolmgroves/reaper_csi/wiki
Geoff Waddington is online now   Reply With Quote