         return
     }
 
-    index := Asc(SubStr(A_ThisHotkey, 2, 1)) - g_FirstChar + 1
+    index := Asc(A_ThisHotkey) - g_FirstChar + 1
 
     RunCommand(g_CurrentCommandList[index])
 return

{
    key := Chr(g_FirstChar + A_Index - 1)
    ; lalt +
    Hotkey, <!%key%, RunSelectedCommand1
    ; tab +
    Hotkey, ~%key%, RunSelectedCommand2
    ; shift +
    Hotkey, ~+%key%, GotoCommand
}

; 用户映射的按键

}

RunSelectedCommand1:
    index := Asc(SubStr(A_ThisHotkey, 0, 1)) - g_FirstChar + 1

    RunCommand(g_CurrentCommandList[index])
return
