Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 05-28-2020, 09:36 PM   #1
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default Action to open FXChain file browser

*Request*
Add a new action to "Open FXChain file browser for selected track". There is a keyboard shortcut for when a track FX window is focused (the 3rd option in FX menu), but there is no Reaper action to do it, at least that I can find and I've checked SWS.

*Benefit*
I mostly prefer browsing FX chains from the native OS file browser window (such as Windows Explorer) because they can be organized in folders hierarchically and it doesn't require a mouse. The usual FX browser is limited while right-clicking on FX button is nice but requires a lot of mouse navigation. The native file browser can be fully keyboard navigable which is great for some workflows, not to mention accessibility.

EDIT: I thought this request has been addressed, but the action provided (very graciously by mpl!) actually adds the FX to *both* the input and standard FX pathways. Still looking for a solution.

Last edited by markhw; 06-10-2020 at 02:15 PM.
markhw is offline   Reply With Quote
Old 05-28-2020, 11:36 PM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

ReaPack/mpl_Add FXChain to selected track.lua

Last edited by mpl; 05-28-2020 at 11:42 PM.
mpl is offline   Reply With Quote
Old 05-30-2020, 01:04 PM   #3
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

Wohoo! Thank you for such quick work! Just one thing would help - It seems to open the REAPER install folder rather than the FXChain subfolder. Can that be done?
markhw is offline   Reply With Quote
Old 05-31-2020, 01:12 AM   #4
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Not on PC now, but I would try to replace in the script this
Code:
retval, filenameNeed4096 = reaper.GetUserFileNameForRead(reaper.GetResourcePath()..'/REAPER', '', '' )
by this
Code:
retval, filenameNeed4096 = reaper.GetUserFileNameForRead(reaper.GetResourcePath()..'/REAPER/FXChains', '', '' )
mpl is offline   Reply With Quote
Old 05-31-2020, 06:24 PM   #5
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

Thanks for the response. Unfortunately this didn't seem to work. It is opening a different folder on my computer, but now it's not even in the REAPER directory.
markhw is offline   Reply With Quote
Old 05-31-2020, 06:42 PM   #6
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,622
Default

Code:
retval, filenameNeed4096 = reaper.GetUserFileNameForRead(reaper.GetResourcePath()..'/FXChains', '', '' )
Try this instead, this should work.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   Reply With Quote
Old 06-01-2020, 12:49 AM   #7
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

This still opens the REAPER folder. However the filename field is pre-filled with text "FXChains" now.
Attached Images
File Type: jpg screenshot1.jpg (38.0 KB, 109 views)
markhw is offline   Reply With Quote
Old 06-01-2020, 07:28 AM   #8
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
Default

Quote:
Originally Posted by markhw View Post
This still opens the REAPER folder. However the filename field is pre-filled with text "FXChains" now.
On Windows I do it like this,
Code:
retval, fn = reaper.GetUserFileNameForRead(reaper.GetResourcePath()..'\\FXChains\\', 'Open FX Chain', '*.RfxChain')
Edgemeal is offline   Reply With Quote
Old 06-01-2020, 09:37 PM   #9
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

Thank you so much - Indeed it works!

I was really surprised this wasn't an action to begin with... We're also missing the Input FX version of this. Is that similarly ginuppable? It's not nearly as big of a deal, this is by far the more important action.

Regardless, just one more reminder of how AMAZING this community is. Thanks y'all!
markhw is offline   Reply With Quote
Old 06-01-2020, 09:40 PM   #10
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

Oh boy. I guess I spoke too soon. The file browser opens, but if I try to actually add an FXChain I get the following error:

mpl_Add FXChain to selected track.lua:22: bad argument #1 to 'open' (string expected, got nil)

I'm attaching the LUA Script.
Attached Images
File Type: jpg error.jpg (9.6 KB, 97 views)
Attached Files
File Type: lua mpl_Add FXChain to selected track.lua (1.8 KB, 119 views)

Last edited by markhw; 06-01-2020 at 09:42 PM. Reason: added file
markhw is offline   Reply With Quote
Old 06-02-2020, 12:17 AM   #11
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Should be fixed now.
mpl is offline   Reply With Quote
Old 06-03-2020, 01:22 AM   #12
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

Thank you!!!

EDIT: too soon.

Last edited by markhw; 06-10-2020 at 02:16 PM.
markhw is offline   Reply With Quote
Old 06-06-2020, 12:09 AM   #13
markhw
Human being with feelings
 
Join Date: May 2018
Posts: 33
Default

OK, now an interesting problem arises...

The problem now is the action inserts FX onto *both* the regular and input FX chains. Is there a way to make it only insert on the regular FX chain?

Couple of other things I've noticed:
-The added FX are being placed at the beginning of the FX chain rather than the end.
-It's hard to confirm for sure that it's related, but Reaper is crashing frequently after using the action for some FX devices. Heavier FX with larger PDC like Eventide Quadravox is crashing after using the action and bypassing/enabling the plugin.

Last edited by markhw; 06-10-2020 at 02:15 PM.
markhw 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 06:09 AM.


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