|
|
|
12-16-2018, 01:41 PM
|
#1
|
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
Shortcut for closing all fx windows.
Hi, existing any action or script that closes all track and item fx windows?
Many thanks...
|
|
|
12-16-2018, 01:44 PM
|
#2
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,770
|
|
|
|
12-16-2018, 01:51 PM
|
#3
|
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
I tried it all. None of these actions will close Items FX windows.
|
|
|
12-16-2018, 01:52 PM
|
#4
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,770
|
hmmmm. sorry about that.
|
|
|
12-16-2018, 04:59 PM
|
#5
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
Quote:
Originally Posted by PelF
I tried it all. None of these actions will close Items FX windows.
|
Same here, This should do the trick, tested using js_ReaScriptAPI v0.951, REAPER v5.963
Code:
-- REQUIRES: js_ReaScriptAPI, https://forum.cockos.com/showthread.php?t=212174
-- If using REAPER v5.96 use js_ReaScriptAPI v0.951.
-- v0.961 requires REAPER v5.97 or current development pre-release.
windows = {"FX: ", "JS: ", "VST: ", "VSTi: ", "VST3: ", "VST3i: ", "DX: ", "DXi: "} -- partial window names
hWnd_array = reaper.new_array({}, 100)
for i = 1, #windows do
reaper.JS_Window_ArrayFind(windows[i], false, hWnd_array)
handles = hWnd_array.table()
for j = 1, #handles do
hWnd = reaper.JS_Window_HandleFromAddress(handles[j])
if reaper.JS_Window_GetParent(hWnd) == reaper.GetMainHwnd() then
reaper.JS_WindowMessage_Post(hWnd, "WM_CLOSE", 0,0,0,0)
end
end
end
Last edited by Edgemeal; 12-16-2018 at 10:56 PM.
Reason: Add GetParent to only close windows in REAPER!
|
|
|
12-16-2018, 08:36 PM
|
#6
|
Human being with feelings
Join Date: Feb 2009
Location: Motown
Posts: 60
|
Perhaps I'm not understanding, but isn't it ctrl alt F
|
|
|
12-16-2018, 09:08 PM
|
#7
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
@Edgemeal pretty cool, gonna try that tomorrow!
|
|
|
12-16-2018, 10:16 PM
|
#8
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
Quote:
Originally Posted by 57JR
Perhaps I'm not understanding, but isn't it ctrl alt F
|
That closes ALL floating windows!
|
|
|
12-17-2018, 03:41 AM
|
#10
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,913
|
Quote:
Originally Posted by PelF
|
No, that is totally different (and beyond my skill level).
Best of luck!
|
|
|
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 04:10 AM.
|