Opened 10 years ago

Closed 10 years ago

#2881 closed Bug (Fixed)

HotKeySet with "{ASC 0x####}" always sets "A"

Reported by: Melba23 Owned by: Jpm
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


HotKeySet takes the "A" from "ASC" as the key to set:

#include <MsgBoxConstants.au3>

; Try to set "B" as a HotKey
HotKeySet("{ASC 0x0042}", "_Func")

While 1

; But it will fire on "A"
Func _Func()
    MsgBox($MB_SYSTEMMODAL, "Hi", "What key did you press?")

Present in v3.3.12.0 and after - not tested in earlier versions


Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Jpm

Tha ASC is only supported in the Send() environment.
I don't know if HotKeySet() can be fixed

Jon will answer if we change only the Doc as this as never work since beginning of AutoIT3

comment:2 Changed 10 years ago by Melba23

I also think that "change the docs" will be his answer - but I thought I would ask!


comment:3 Changed 10 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11063] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.