Modify

#2881 closed Bug (Fixed)

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

Reported by: Melba23 Owned by: Jpm
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 Jpm, on Sep 6, 2014 at 4:21:58 PM

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 by Melba23, on Sep 7, 2014 at 9:28:13 AM

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

M23

comment:3 by Jpm, on Sep 7, 2014 at 1:23:33 PM

Milestone: 3.3.13.20
Owner: set to Jpm
Resolution: Fixed
Status: newclosed

Fixed by revision [11063] in version: 3.3.13.20

Modify Ticket

Action
as closed The owner will remain Jpm.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.