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 J-Paul Mesnage, 12 years ago

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, 12 years ago

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

M23

comment:3 by J-Paul Mesnage, 12 years ago

Milestone: 3.3.13.20
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [11063] in version: 3.3.13.20

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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