View Single Post
Old 07-26-2019, 07:05 AM   #2
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,472
Default

You could fumble it out a TrackStateChunk. Every track has an element called TRACKHEIGHT, which has three "parameters":

integer height - 24 up to 443
integer heightstate2 - 0 - use height, 1 - compact the track and ignore the height
integer lock_trackheight - 0, don't lock the trackheight; 1, lock the trackheight

Or you can use my Ultraschall-API and use this function:
https://mespotin.uber.space/Ultrasch...ackHeightState
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote