Prev Previous Post   Next Post Next
Old 08-28-2015, 06:17 PM   #1
swiiscompos
Human being with feelings
 
swiiscompos's Avatar
 
Join Date: Mar 2011
Location: London
Posts: 1,211
Default Lua: Smart Layout Changer

Hi folks,

Here is my first LUA script created with the huge help of Sexan and Jeffos. It changes the track layout depending on the track content (audio, MIDI or video) or on the track state/function (folder, aux, separator). The script requires Reaper V5.02+ and the SWS extensions. To make it work you will also need to set up the layout actions in the Screensets/Layouts window like this:

RecArmLayTCP --ACTION 1
FolderLayTCP --ACTION 2
SeparatorLayTCP--ACTION 3
AuxLayTCP --ACTION 4
MidiLayTCP --ACTION 5
VideoLayTCP --ACTION 6
MixedLayTCP --ACTION 7

Same order for MCP but from 8-14



Here is the link for the Windows version:
https://stash.reaper.fm/25048/SmartLayoutOptimized.lua

And here is the link for the Mac version:
https://stash.reaper.fm/25210/SmartLa...timizedOSX.lua

Last edited by swiiscompos; 09-25-2015 at 09:09 AM.
swiiscompos is offline   Reply With Quote
 

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 12:44 AM.


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