You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FX/amagalma_Float centered exclusively the previous FX for the current track.lua
+56-37
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,23 @@
1
-
--[[
2
-
ReaScript Name: Float centered exclusively the previous FX for the current track
3
-
Version: 1.0
4
-
Author: amagalma
5
-
About:
6
-
Closes all open floating FX and FX chains and floats centered in the screen the previous FX for the current track (first selected or last touched)
1
+
-- @description Float centered exclusively the previous FX for the current track
2
+
-- @author amagalma
3
+
-- @version 1.1
4
+
-- @changelog skip offline FX
5
+
-- @donation https://www.paypal.me/amagalma
6
+
-- @about
7
+
-- Closes all open floating FX and FX chains and floats centered in the screen the previous FX for the current track (first selected or last touched)
8
+
--
9
+
-- - works similarly to "SWS/S&M: Float next FX (and close others) for selected tracks" but centers correctly the Master FX and works with last touched track too
10
+
-- - FX that are offline are skipped
11
+
-- - requires JS_ReaScriptAPI
7
12
8
-
- works similarly to "SWS/S&M: Float next FX (and close others) for selected tracks" but centers correctly the Master FX and works with last touched track too
ifnotreaper.APIExists("JS_ReaScriptAPI_Version") then
19
-
localanswer=reaper.MB( "You have to install JS_ReaScriptAPI for this script to work. Would you like to open the relative web page in your browser?", "JS_ReaScriptAPI not installed", 4 )
ifstring.match(reaper.GetOS(), "OSX" ) =="OSX" then
23
-
os.execute('open "" "' ..url..'"')
24
-
else
25
-
os.execute('start "" "' ..url..'"')
26
-
end
14
+
ifnotreaper.APIExists( "JS_Window_Find" ) then
15
+
reaper.MB( "Please, right-click and install 'js_ReaScriptAPI: API functions for ReaScripts'. Then restart Reaper and run the script again. Thanks!", "You need to install the JS_ReaScriptAPI", 0 )
0 commit comments