Modify ↓
Opened 12 years ago
Closed 12 years ago
#2881 closed Bug (Fixed)
HotKeySet with "{ASC 0x####}" always sets "A"
| Reported by: | Melba23 | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.13.20 | Component: | AutoIt |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | Cc: |
Description
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
Sleep(10)
WEnd
; But it will fire on "A"
Func _Func()
MsgBox($MB_SYSTEMMODAL, "Hi", "What key did you press?")
EndFunc
Present in v3.3.12.0 and after - not tested in earlier versions
M23
Attachments (0)
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
I also think that "change the docs" will be his answer - but I thought I would ask!
M23
comment:3 by , 12 years ago
| Milestone: | → 3.3.13.20 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [11063] in version: 3.3.13.20
Note:
See TracTickets
for help on using tickets.

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