Old 05-31-2019, 11:08 PM   #1
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 360
Default Reordering Project Tabs with Reascripts?

Does somebody knows if it is doable? Instead of having to drag them in the tab bar?

My problem is that when you have several opened tabs, you can't re-order the tabs that are on the far right in the Project Tab bar.
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is online now   Reply With Quote
Old 06-01-2019, 01:05 PM   #2
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,317
Default

Can you show this problem with a LiceCap-gif?
__________________
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 online now   Reply With Quote
Old 07-03-2019, 09:22 AM   #3
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 360
Default

Sorry for having waited so long but here it is:


My problem is I can't reorder Song 14, Song 15, etc...
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.

Last edited by lexaproductions; 07-03-2019 at 09:28 AM.
lexaproductions is online now   Reply With Quote
Old 07-03-2019, 09:31 AM   #4
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,682
Default

Beside closing projects and reopening them in the desired order, no.

EDIT: On second thought, I haven't tried but it might be possible to simulate mouse events over the tabbar using SWS/js_API functions. (If that works at all, it would be hackish at best though and would likely not be very reliable...)

Last edited by cfillion; 07-03-2019 at 09:38 AM.
cfillion is offline   Reply With Quote
Old 07-03-2019, 09:47 AM   #5
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,317
Default

The tabbar has a childID, AFAIK, so this should be possible without too much hacking on all platforms.

Could dragging be simulated as well?
__________________
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 online now   Reply With Quote
Old 07-03-2019, 09:49 AM   #6
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 360
Default

Quote:
Originally Posted by mespotine View Post
The tabbar has a childID, AFAIK, so this should be possible without too much hacking on all platforms.
Can you PLEEEEASE enlighten me a bit more on the subject???
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is online now   Reply With Quote
Old 07-03-2019, 09:56 AM   #7
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,317
Default

https://github.com/Ultraschall/ultra...s-ChildIDs.txt

with Julian's extension, I think.
__________________
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 online now   Reply With Quote
Old 07-03-2019, 10:49 AM   #8
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 1,209
Default

Quote:
Originally Posted by mespotine View Post
Classnames:
REAPERhorzvu - Horizontal VU meter (seen in Render dialog)
REAPERvertvu - Vertical VU meter (seen in ReaComp, ReaEQ, many JS)
Edgemeal is offline   Reply With Quote
Old 07-03-2019, 11:04 AM   #9
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 360
Default

Quote:
Originally Posted by mespotine View Post
I'm sorry but I'm starting with my LUA skills. But this C++ thing is way over me.
It's not clear for me what's possible to do with this. Can you explain to me a bit more?
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is online now   Reply With Quote
Old 07-04-2019, 08:32 AM   #10
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,317
Default

Just install his extension and you can use his functions in Lua as well.

I can't really explain the whole thing about working and programming windows/tabs/etc very much to you, as I'm also in my very beginnings in understanding the stuff, so you should ask in the JS-extension-thread instead:

https://forum.cockos.com/showthread.php?t=212174
__________________
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 online now   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:00 AM.


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