Old 06-17-2020, 03:09 PM   #41
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 1,864
Default

Quote:
Originally Posted by gpunk_w View Post
Is this an extra new tweak since the last one i tried (300)

Also I can't find a donation link to send you a drink ?
400 (I'll remove 300) is slightly cleaner code and also checks if the TCP was found (the scripts only work on Windows)
Donation link is in Lua file. THANKS!

Last edited by Edgemeal; 06-17-2020 at 03:22 PM.
Edgemeal is offline   Reply With Quote
Old 06-17-2020, 03:47 PM   #42
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 658
Default

Quote:
Originally Posted by Edgemeal View Post
400 (I'll remove 300) is slightly cleaner code and also checks if the TCP was found (the scripts only work on Windows)
Donation link is in Lua file. THANKS!
Does it take into account, when TCP is on the right as well?
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-17-2020, 05:10 PM   #43
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 1,864
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Does it take into account, when TCP is on the right as well?
OK, it does now. Windows OS only.

IOW how many move TCP to right side and would also "need" this action, 1 per million?

Last edited by Edgemeal; 06-17-2020 at 06:37 PM.
Edgemeal is offline   Reply With Quote
Old 06-17-2020, 05:12 PM   #44
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 658
Default

Quote:
Originally Posted by Edgemeal View Post
OK, it does now. Windows OS only.

IOW how many move TCP to right side and would also "need" this action, 1 per million?

It's because of nerd reasons. Not because of it being any useful
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-17-2020, 06:39 PM   #45
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 1,864
Default

Fix: Width was incorrectly set when REAPER was not maximized.

Usage: Copy and rename the script for width(s) you want, for example, to set TCP width to approx 350 pixels, name the script, "Set TCP width 350.lua".
Attached Files
File Type: lua Set TCP width 550.lua (1.8 KB, 13 views)

Last edited by Edgemeal; 07-06-2020 at 07:55 AM.
Edgemeal is offline   Reply With Quote
Old 06-20-2020, 03:47 AM   #46
gpunk_w
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,357
Default

Quote:
Originally Posted by Edgemeal View Post
OK, it does now. Windows OS only.

IOW how many move TCP to right side and would also "need" this action, 1 per million?
Ableton theme users or something lol
__________________
Reaper scripters, that is all !!!!!!!!!!!!!!!!
gpunk_w is offline   Reply With Quote
Old 06-22-2020, 06:42 PM   #47
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 658
Default

@edgemeal

There still was an offset with left being two pixels too big and right 8 pixels too small.
To I fixed this, you just need to exchange these lines in your script:

Quote:
if tcp_r < av_r then
x,y = reaper.JS_Window_ScreenToClient(main, tcp_x+(tcp_r-tcp_x)+2, tcp_y)
reaper.JS_WindowMessage_Send(main, "WM_LBUTTONDOWN", 1, 0, x, y) -- mouse down message at splitter location
reaper.JS_WindowMessage_Send(main, "WM_LBUTTONUP", 0, 0, (tcp_x+width)-main_x-2, y) -- set width, mouse up message
else -- ' TCP is on right side
x,y = reaper.JS_Window_ScreenToClient(main, tcp_x-5, tcp_y)
reaper.JS_WindowMessage_Send(main, "WM_LBUTTONDOWN", 1, 0, x, y)
reaper.JS_WindowMessage_Send(main, "WM_LBUTTONUP", 0, 0, (tcp_r-width)-main_x-8, y)
end
I'm not sure, whether this came from the additional toolbars I had at the left on my reaper-instance, so maybe, I bugged this even further
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-30-2020, 01:49 PM   #48
DanSwizer
Human being with feelings
 
DanSwizer's Avatar
 
Join Date: Sep 2019
Posts: 27
Default

Quote:
Originally Posted by gpunk_w View Post
My own theme.
Really great theme!I have some visual impairment and you theme сontrast enough.
It would be cool if you shared) If possible))Sorry for the impudence!

Last edited by DanSwizer; 06-30-2020 at 05:02 PM.
DanSwizer is offline   Reply With Quote
Old 07-01-2020, 06:49 AM   #49
gpunk_w
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,357
Default

Quote:
Originally Posted by DanSwizer View Post
Really great theme!I have some visual impairment and you theme сontrast enough.
It would be cool if you shared) If possible))Sorry for the impudence!
I only theme the parts I use, i doubt very much it would be usable to others.
__________________
Reaper scripters, that is all !!!!!!!!!!!!!!!!
gpunk_w 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 12:29 AM.


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