Enter hotkey not working

Get help with using AutoHotkey and its commands and hotkeys
newbieforever
Posts: 400
Joined: 24 Aug 2016, 03:34

Enter hotkey not working

10 Jul 2019, 07:22

Hi!

The Enter hotkey I use in my scripts works perfectly on all my computers, but it fails to work on my new one. (The new computer is a convertible notebook with a normal keyboard; and there is no problem on an older model of the same manufacturer. And the Enter key itself is working perfectly.)

So even this simple demo script fails on the new computer:

Code: Select all

~Enter::
  MsgBox %A_ThisHotkey% pressed
  Return
(Other similar hotkeys, e.g. ~Tab::, work perfectly!)

What could be the reason?

Thank you very much in advance.
newbieforever
Posts: 400
Joined: 24 Aug 2016, 03:34

Re: Enter hotkey not working

10 Jul 2019, 08:11

Crazy!
The SC of the normal (!) Enter key on this computer's keyboard is the SC of NumpadEnter! (I discovered this using the key history.)

So this works:

Code: Select all

~SC11C::
~Enter::
  MsgBox %A_ThisHotkey% pressed
  Return 

Return to “Ask For Help”

Who is online

Users browsing this forum: FlizzyDuck, Getfree, gongnl, MIRKOSOFT, SOPMOD and 146 guests