Old 12-09-2018, 03:16 PM   #1
Spacemen Tree
Human being with feelings
 
Spacemen Tree's Avatar
 
Join Date: Mar 2013
Posts: 515
Default Master track layouts

Hey guys. Anyway to change the master track layout in mixer? Been trying this but no go. I can get the info ok in the first 3 lines of the script but then no result when I try to change the layout.

Any ideas?
Cheers

Code:
master = reaper.GetTrack(1,0)
retval, layout_str = reaper.GetSetMediaTrackInfo_String(master,"P_MCP_LAYOUT", "",0)
master_visible = reaper.GetMasterTrackVisibility() 

if master_visible == 0 then
  if layout_str == "Small" then
    reaper.GetSetMediaTrackInfo_String(master,"P_MCP_LAYOUT","",true) -- set default
  else
    reaper.GetSetMediaTrackInfo_String(master,"P_MCP_LAYOUT","Small",true) 
  end
end
__________________
"After silence, that which comes nearest to expressing the inexpressible is music", Aldous Huxley
Spacemen Tree is offline   Reply With Quote
Old 12-10-2018, 11:45 AM   #2
BluGenes
Human being with feelings
 
Join Date: Oct 2016
Posts: 51
Default

not that this helps, but, I was trying to change it in the TCP today. I noticed it is grayed out if you right click on the master track and then open the layout menu, but, it is available for all other tracks.. so, apparently you can't.
BluGenes is offline   Reply With Quote
Old 12-11-2018, 05:17 PM   #3
Spacemen Tree
Human being with feelings
 
Spacemen Tree's Avatar
 
Join Date: Mar 2013
Posts: 515
Default

Yeah, I gave the API an in depth look but it seems it's not possible. Oh well...
__________________
"After silence, that which comes nearest to expressing the inexpressible is music", Aldous Huxley
Spacemen Tree 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 09:01 AM.


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