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

Reply
 
Thread Tools Display Modes
Old 05-12-2021, 03:30 AM   #1
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,095
Default Turn off dragging TCP tracks to create subfolder!

Quote:
Originally Posted by Phazma View Post
I found out there is a hack that can be done on theme level for this.

If you add the line set tcp.dragdropinfo [0 0] to the rtconfig file of the theme you are using you can offset the points where it creates a sibling vs a child track on the left/right axis by changing the two coordinates from 0 to something else. The first coordinate offsets sibling creation, the second point offsets child creation. The line which indicates sibling/child creation when dragging adjusts accordingly.

So if you never want to create child tracks by dragging, just set the second coordinate value higher than the maximum width of your track control panel. 450 works for me (so in my rtconfig it says " set tcp.dragdropinfo [0 450] ") but you may need a different number.

If you still want the possibility to create a child track but reduce the amount of accidents you can tweak the number so that the line for child creation appears for example at 150 if your tcp width is 300 so you have to move your mouse over to the right half of the tcp to create a child track.

Hope this helps someone
I think this reply post from PHAZMA deserves it own's thread....
You can effectively turn off Reaper's ability to automatically create sub-folders by dragging (i.e. drag TCP tracks up/down and offset to an existing track).
This is a behaviour that has inadvertently caused me more grief than pleasure over the years, especially on large projects so it's great to find a way to turn it off.

In detail, what I did was:

- Options/Show Reaper resource path in explorer/finder

- Go to the ColorThemes folder

- *COPIED* my current .ReaperThemeZip file (iLogic v3.85 in my case) so I could revert, if it all goes T.U.

- Open .ReaperThemeZip file with Winrar or Winzip

- There will be a theme ZIP file and a folder. Open the folder and then open the rtconfig.txt file contained therein using a text editor

- I wan't sure where to add the new line so I chose to add it just under a line which read "set tcp.label.font"

- Added the new line: "set tcp.dragdropinfo [0 600]". As Phazma explained, you may need to experiment with this second number (600, in my case) depending on how wide you typically have your TCP tracks

- Save RTCONFIG.TXT back to the .ReaperThemeZip file

- load Reaper (or reload theme)

Mucho thanks to Phazma :-)
uncleswede is offline   Reply With Quote
Old 05-12-2021, 08:07 AM   #2
vdubreeze
Human being with feelings
 
vdubreeze's Avatar
 
Join Date: Jul 2011
Location: Brooklyn
Posts: 2,611
Default

Didn't know about this. I'm so on it. Thanks!
__________________
The reason rain dances work is because they don't stop dancing until it rains.
vdubreeze is online now   Reply With Quote
Old 05-13-2021, 02:46 AM   #3
Ann-82
Human being with feelings
 
Join Date: May 2020
Location: Berlin
Posts: 166
Default

Not working here.
Ann-82 is offline   Reply With Quote
Old 05-13-2021, 03:00 AM   #4
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Quote:
Originally Posted by Ann-82 View Post
Not working here.
Any more details so we could try to help you? What theme are you using?
Phazma is offline   Reply With Quote
Old 05-13-2021, 03:06 AM   #5
Ann-82
Human being with feelings
 
Join Date: May 2020
Location: Berlin
Posts: 166
Default

Quote:
Originally Posted by Phazma View Post
Any more details so we could try to help you? What theme are you using?
Hi Phazma, thank you for helping out. I'm using the last release of "MyTaste".

I modified the rtconfig but unfortunately with no success.
Ann-82 is offline   Reply With Quote
Old 05-13-2021, 03:51 AM   #6
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Quote:
Originally Posted by Ann-82 View Post
Hi Phazma, thank you for helping out. I'm using the last release of "MyTaste".

I modified the rtconfig but unfortunately with no success.
Ok just checked that theme, that's some pretty complicated WALTER code.

I think the problem you have is because it already uses a tcp.dragdropinfo line.. the first thing I did was search for it (I used the text editor find function) and just replaced the whole line with the simple two coordinates and it worked. Should look like this after replacing:

Phazma is offline   Reply With Quote
Old 05-13-2021, 03:59 AM   #7
Ann-82
Human being with feelings
 
Join Date: May 2020
Location: Berlin
Posts: 166
Default

Quote:
Originally Posted by Phazma View Post
Ok just checked that theme, that's some pretty complicated WALTER code.

I think the problem you have is because it already uses a tcp.dragdropinfo line.. the first thing I did was search for it (I used the text editor find function) and just replaced the whole line with the simple two coordinates and it worked. Should look like this after replacing:

Hi Phazma, this is just amazing! It works really well now. I'm totally thankful for your help! I usually works with large projects and this was so annoying. Thank you!
Ann-82 is offline   Reply With Quote
Old 05-13-2021, 04:49 AM   #8
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,872
Default

Glad I could help Hope others find this useful too!
Phazma 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:55 PM.


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