reaper.BR_GetMouseCursorContex does not distinguish AI's , can anyone update this?
Code:
function msg(param)
reaper.ShowConsoleMsg("\n"..tostring(param));
end
reaper.ClearConsole()
--============================================================
function run()
local window, segment, details = reaper.BR_GetMouseCursorContext() -- reaper.GetCursorContext()
-- string window retval, string segment, string details reaper.BR_GetMouseCursorContext(string window, string segment, string details, integer char_sz)
msg("window: "..window.." ::" .. "segment: "..segment.." ::" .."details: "..details )
reaper.defer(run)
end
function onexit()
msg(">script ended\n")
end
reaper.defer(run)
reaper.atexit(onexit)