|
|
|
07-05-2020, 10:50 PM
|
#1
|
Human being with feelings
Join Date: Dec 2019
Posts: 67
|
Is there a way to get a list of VST paths being used in a project?
I get paranoid about this in case I ever need to re-install Windows.
It would be good if the paths to all the VST plugins being used, could be exported
somehow, but I know of no way to do this in Reaper.
I know Ctrl+B (then clicking the FX tab at the top) can show this as a list, but doing
"Save" there saves a ".ReaBay" file in the ProjectBays folder and that file doesn't
contain the paths. Also, you cannot copy the paths from the column in the Project Bay
window.
Assuming there's no quick way to save all the paths to the VST plugins, this would be
a great addition to Reaper in future versions (it just needs to have the functionality
to be able to accept pressing Ctrl+C to copy if right clicking the plugin in the list
under paths in the Project Bay).
|
|
|
07-05-2020, 11:52 PM
|
#2
|
Human being with feelings
Join Date: May 2017
Posts: 3,202
|
View - project bay - FX
|
|
|
07-06-2020, 10:17 AM
|
#3
|
Human being with feelings
Join Date: Dec 2019
Posts: 67
|
Quote:
Originally Posted by Philbo King
View - project bay - FX
|
That isn't able to export the list of paths as plain text.
That's why I said "I know Ctrl+B (then clicking the FX tab at the top) can show this as a list..."
|
|
|
07-06-2020, 11:36 AM
|
#4
|
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
|
Edgemeal coded a script to do exactly this.
See here https://forum.cockos.com/showthread.php?t=225219
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
|
|
|
07-06-2020, 11:53 PM
|
#5
|
Human being with feelings
Join Date: Dec 2019
Posts: 67
|
Quote:
Originally Posted by Fabian
|
Fabian cheers, that's good but it doesn't save the paths to the VST files.
The script only saves info about what's loaded on the tracks, for example:
Quote:
Project: My Song.rpp
Path: C:\Reaper\Projects\My Song
Date: July 06, 2020 08:41:22
Track 1: Strings
VSTi: reFX Nexus (x86) (reFX) Preset: Strings
Track 2: Bass
VSTi: JUPITER-8 (Roland Cloud) Preset: Bass
Track 3: Whatever
Track 4: Whatever
Track 5: Whatever
|
etc etc
Last edited by 138BPM; 07-07-2020 at 12:36 AM.
|
|
|
07-07-2020, 07:10 AM
|
#6
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
Quote:
Originally Posted by 138BPM
Also, you cannot copy the paths from the column in the Project Bay window.
|
Requires SWS and js_ReaScriptAPI extensions, Tested on Win10 only...
EDIT Updated to not copy duplicate paths.
Code:
-- Copy VST paths to clipboard from Project Bay.lua
-- Edgemeal - July 07, 2020
-- Donate: https://www.paypal.me/Edgemeal
function contains(t, text)
for i = 1, #t do
if t[i] == text then return true end
end
end
function Main()
local hwnd = reaper.JS_Window_Find('Project Bay', true)
local container = reaper.JS_Window_FindChildByID(hwnd, 0)
local lv = reaper.JS_Window_FindChildByID(container,0x42F)
if not lv then reaper.MB('Project Bay List not found!', 'ERROR', 0) return end
local sel_count, sel_indexes = reaper.JS_ListView_ListAllSelItems(lv)
if sel_count == 0 then reaper.MB('Please select one or more items to copy.', 'ERROR', 0) return end
local t = {}
for ndx in string.gmatch(sel_indexes, '[^,]+') do
local text = reaper.JS_ListView_GetItemText(lv, tonumber(ndx), 9) -- 9=path column
if not contains(t, text) then t[#t+1] = text end
end
reaper.CF_SetClipboard(table.concat(t,"\n")) -- copy results to clipboard (SWS).
end
Main()
reaper.defer(function () end)
Last edited by Edgemeal; 07-07-2020 at 08:25 AM.
Reason: Avoid copying duplicates
|
|
|
07-07-2020, 10:22 AM
|
#7
|
Human being with feelings
Join Date: Dec 2019
Posts: 67
|
Quote:
Originally Posted by Edgemeal
Requires SWS and js_ReaScriptAPI extensions, Tested on Win10 only...
EDIT Updated to not copy duplicate paths.
|
Genius :P
I am totally new to adding stuff to Reaper, but after adding SWS and js_ReaScriptAPI, it works perfectly. Cheers Edgemeal, this is a great help, I will try to donate at some point.
|
|
|
07-07-2020, 11:19 AM
|
#8
|
Human being with feelings
Join Date: Dec 2019
Posts: 67
|
It worked in a VM testing it but now on my actual system I get:
Quote:
Copy VST paths to clipboard from Project Bay.lua:23: attempt to call a nil value (field 'CF_SetClipboard')
|
Windows 10 x64 / Reaper x64
|
|
|
07-07-2020, 11:41 AM
|
#9
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
CF_SetClipboard requires SWS.
FWIW I have SWS pre-release v2.12 installed.
|
|
|
07-07-2020, 12:18 PM
|
#10
|
Human being with feelings
Join Date: Dec 2019
Posts: 67
|
Quote:
Originally Posted by Edgemeal
CF_SetClipboard requires SWS.
FWIW I have SWS pre-release v2.12 installed.
|
Sorry it works now, I just forgot to copy reaper_sws64.dll and sws_python.py
to my usual Reaper Plugins folder, after trying it in a VM.
Last edited by 138BPM; 07-07-2020 at 01:48 PM.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:16 AM.
|