View Single Post
Old 01-06-2020, 02:09 PM   #882
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 2,819
Default

like this?

Code:
local WML_intercept = reaper.JS_WindowMessage_Intercept(track_window, "WM_LBUTTONDOWN", false)

function pass_thru()
   pOK, pass, time, wLow, wHigh, lLow, lHigh = reaper.JS_WindowMessage_Peek(track_window, "WM_LBUTTONDOWN")
   reaper.JS_WindowMessage_Post(track_window, "WM_LBUTTONDOWN", wLow, wHigh, lLow, lHigh)
end

function Main()
if not mouse.Ctrl() and not mouse.Shift() and mouse.l_down then
            pass_thru()
         end
end
Not working exactly (maybe my bad?)
Sexan is offline   Reply With Quote