Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 01-16-2020, 06:43 PM   #1
PointReyes
Human being with feelings
 
Join Date: Jan 2016
Posts: 164
Default Action/script to zoom selected track(s) to a specified height?

What I need is an action to zoom whatever selected track or tracks to a pre-determined track height. I don't want it to happen automatically like in Kawa or MDL's scripts, but instead want to be able to do it manually, and ideally then use the same action to return to the track's precious zoom height. It's a very useful feature.

Is there an action like that, or a script?
__________________
Latest Reaper 6. Mac Pro trashcan 6-core 3.7gHz; 32g RAM; all SSD drives for system, audio, and (3 drives) samples; the most current OS X version; Apollo 8 2nd Gen interface
PointReyes is offline   Reply With Quote
Old 01-17-2020, 07:03 AM   #2
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 1,117
Default

https://forum.cockos.com/showthread.php?t=102231
Pinknoise is online now   Reply With Quote
Old 01-17-2020, 08:13 AM   #3
synkrotron
Human being with feelings
 
synkrotron's Avatar
 
Join Date: May 2015
Location: Warrington, UK
Posts: 1,444
Default

Quote:
Originally Posted by PointReyes View Post
Is there an action like that, or a script?
Raise a Feature Request. It would get a +1 from me.
__________________
Bandcamp // YouTube // SoundCloud
synkrotron is offline   Reply With Quote
Old 01-17-2020, 10:38 AM   #4
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

edit: Pinknoise got it already with the link...

---

SWS extension has parameters for two track heights defined in pixels, under Extensions/Command Parameters. Then you can use e.g. these actions to recall those heights:

Xenakios/SWS: Set selected tracks heights to A
Xenakios/SWS: Set selected tracks heights to B
Xenakios/SWS: Toggle selected tracks height A/B

Set one for your "normal" height and the other for the zoomed in height. Or if you want to return to whatever height you had earlier, combine those with following as custom actions..
Xenakios/SWS: Store selected tracks heights
Xenakios/SWS: Recall selected tracks heights

Last edited by xpander; 01-17-2020 at 11:26 AM.
xpander is offline   Reply With Quote
Old 01-17-2020, 01:59 PM   #5
PointReyes
Human being with feelings
 
Join Date: Jan 2016
Posts: 164
Default

Quote:
Originally Posted by xpander View Post
edit: Pinknoise got it already with the link...

---

SWS extension has parameters for two track heights defined in pixels, under Extensions/Command Parameters. Then you can use e.g. these actions to recall those heights:

Xenakios/SWS: Set selected tracks heights to A
Xenakios/SWS: Set selected tracks heights to B
Xenakios/SWS: Toggle selected tracks height A/B

Set one for your "normal" height and the other for the zoomed in height. Or if you want to return to whatever height you had earlier, combine those with following as custom actions..
Xenakios/SWS: Store selected tracks heights
Xenakios/SWS: Recall selected tracks heights
Perfect - thank you!
__________________
Latest Reaper 6. Mac Pro trashcan 6-core 3.7gHz; 32g RAM; all SSD drives for system, audio, and (3 drives) samples; the most current OS X version; Apollo 8 2nd Gen interface
PointReyes is offline   Reply With Quote
Old 01-17-2020, 08:13 PM   #6
PointReyes
Human being with feelings
 
Join Date: Jan 2016
Posts: 164
Default

Quote:
Originally Posted by xpander View Post
edit: Pinknoise got it already with the link...

---

SWS extension has parameters for two track heights defined in pixels, under Extensions/Command Parameters. Then you can use e.g. these actions to recall those heights:

Xenakios/SWS: Set selected tracks heights to A
Xenakios/SWS: Set selected tracks heights to B
Xenakios/SWS: Toggle selected tracks height A/B

Set one for your "normal" height and the other for the zoomed in height. Or if you want to return to whatever height you had earlier, combine those with following as custom actions..
Xenakios/SWS: Store selected tracks heights
Xenakios/SWS: Recall selected tracks heights
Do I enter the values I want for A and B in the actual script, or another way?
__________________
Latest Reaper 6. Mac Pro trashcan 6-core 3.7gHz; 32g RAM; all SSD drives for system, audio, and (3 drives) samples; the most current OS X version; Apollo 8 2nd Gen interface
PointReyes is offline   Reply With Quote
Old 01-18-2020, 05:17 AM   #7
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,792
Default

Quote:
Originally Posted by PointReyes View Post
Do I enter the values I want for A and B in the actual script, or another way?
You enter them from the top menu. Extensions / command parameters
Coachz 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:02 PM.


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