Modify

Opened 11 years ago

Closed 11 years ago

#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

Change History (3)

comment:1 Changed 11 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 11 years ago by Melba23

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

M23

comment:3 Changed 11 years ago by Jpm

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

Fixed by revision [11063] in version: 3.3.13.20

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

Author


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

 
Note: See TracTickets for help on using tickets.