Add("Hotkey") does not correctly process LWin or RWin when pressed.

Issue #68 closed
Winter Laite created an issue
steps to reproduce
  • Run code below.
  • Try to enter hotkey combination using either left Win key or right Win key.
  • Try entering either Win key alone.
MyGui := Gui(, "AddHotkey")
MyHotkey := MyGui.Add("Hotkey", "x10 y10")
MyHotkey.OnEvent("Change", "UpdateHK")
MyHkText := MyGui.Add("Text", "w200" , MyHotkey.Value)


MyGui.Show()

UpdateHK() {
    ControlSetText( MyHotkey.Value, MyHkText)
}

Comments (7)

  1. Winter Laite reporter

    Following unknown commit, either ‘LWin’ or ‘RWin’ will appear in the input box, but no other keys will (that is, e.g. LWin+R won’t display).

  2. Winter Laite reporter

    ‘Control + LWin’ can be entered, but ‘Control +LWin + K’ cannot. Win keys are blocking the input of any subsequent keys. Trying to enter ‘Control + Alt + I +LWin’ also fails, as the Win key apparently deletes 'I'.

  3. Log in to comment