From b4a01b4ce92b4f4564bc6e53695a0ffe583d1b14 Mon Sep 17 00:00:00 2001 From: etofok Date: Sat, 18 May 2024 15:21:58 +0300 Subject: [PATCH] quick fix command multiple group --- Modules/module_CommandMultipleGroups.ahk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Modules/module_CommandMultipleGroups.ahk b/Modules/module_CommandMultipleGroups.ahk index 22bd65c..6242f18 100644 --- a/Modules/module_CommandMultipleGroups.ahk +++ b/Modules/module_CommandMultipleGroups.ahk @@ -52,8 +52,9 @@ if (b_CommandMultipleGroups == 1) { CommandMultipleGroups(modifiers, objCommand) { Loop, % ControlGroups.MaxIndex() { - if (ControlGroups[A_Index].commandThisGroup == 1) { - Send % ControlGroups[A_Index].logicalKey + i := ControlGroups.MaxIndex() - A_Index + 1 + if (ControlGroups[i].commandThisGroup == 1) { + Send % ControlGroups[i].logicalKey Send % modifiers objCommand.logicalKey } }