From 2e655cbd1e5831cb70777bc906a8dbbe8e551825 Mon Sep 17 00:00:00 2001 From: BryanChi <93679021+BryanChi@users.noreply.github.com> Date: Thu, 20 Jul 2023 22:25:33 +0900 Subject: [PATCH] Update BryanChi_FX Devices.lua --- FX/BryanChi_FX Devices.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FX/BryanChi_FX Devices.lua b/FX/BryanChi_FX Devices.lua index 20a578c5c..bf5e57aa6 100644 --- a/FX/BryanChi_FX Devices.lua +++ b/FX/BryanChi_FX Devices.lua @@ -58,7 +58,7 @@ -- https://forum.cockos.com/showthread.php?t=263622 --------------------------== declare Initial Variables & Functions ------------------------ -VersionNumber = 'V1.0beta9.6.4 ' +VersionNumber = 'V1.0beta9.6.6 ' FX_Add_Del_WaitTime=2 r=reaper @@ -796,7 +796,7 @@ if visible then --[[ local commandID = r.NamedCommandLookup('_BR_FOCUS_ARRANGE_WND') local CommandTxt = r.CF_GetCommandText(0, commandID) -- 0 prob means arrange window, it's the section drop down from action window's top right corner r.Main_OnCommand(commandID, 0) ]] - msg('A '..v.. '\n') + if Command_ID[i] then local Cmd_Num = r.NamedCommandLookup(Command_ID[i]) r.Main_OnCommand(Cmd_Num, 0) @@ -821,7 +821,7 @@ if visible then if Mods == Mod and r.ImGui_IsKeyPressed(ctx, AllAvailableKeys[AftrLastPlus] ) then - msg('B'..v..'\n') + if Command_ID[i] then local Cmd_Num = r.NamedCommandLookup(Command_ID[i]) r.Main_OnCommand(Cmd_Num, 0)