Key is not detected in KeyHistory

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
CaroS
Posts: 2
Joined: 08 May 2021, 10:37

Key is not detected in KeyHistory

08 May 2021, 11:18

Current system I am using: dell xps17

Problem: 'Increase brightness' key not detected in KeyHistory. Therefore, the name of this key is unknown to me, which prevents me from setting it as a hotkey.

On the keyboard of the XPS 17 the 'increase brightness' button is located on the default spot of the F7 key as you can see in the picture. Pressing both Function key + 'increase brightness' keys activate F7, which is still read by KeyHistory.
Other keys like the 'decrease brightness' button appear have similar behavior.

Why is autohotkey unable to detect the key. Might it be a low-level driver problem? Might there be a workaround for detecting these special keys?
Attachments
Inkedmchin_181005_4093_0006.0_LI.jpg
Increase brightness/F7 button
Inkedmchin_181005_4093_0006.0_LI.jpg (70.64 KiB) Viewed 191 times
User avatar
mikeyww
Posts: 26937
Joined: 09 Sep 2014, 18:38

Re: Key is not detected in KeyHistory

08 May 2021, 11:49

There isn't a brightness key per se. Your computer handles Fn and figures out what to do. You can use hotkeys to change the brightness: scripts have already been posted in the forum for doing that.

https://www.autohotkey.com/boards/viewtopic.php?p=394008#p394008

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=81807

https://www.autohotkey.com/boards/viewtopic.php?p=367333#p367333

https://www.autohotkey.com/boards/viewtopic.php?t=59644

https://www.autohotkey.com/boards/viewtopic.php?p=365164#p365164

https://www.autohotkey.com/boards/viewtopic.php?p=395344#p395344

If you search the forum for "brightness", you will find more information.
CaroS
Posts: 2
Joined: 08 May 2021, 10:37

Re: Key is not detected in KeyHistory

08 May 2021, 16:09

Glad that you answered so quickly :bravo: . I have fixed the problem by toggling "increase brightness" button/F7 via FN + esc. This way the "increase brightness" button is now detected in keyhistory as F7 and can act as a hotkey.
User avatar
mikeyww
Posts: 26937
Joined: 09 Sep 2014, 18:38

Re: Key is not detected in KeyHistory

08 May 2021, 16:48

That's good. In many cases, too, the BIOS can be configured to swap the function keys, so that the default is the normal key rather than the auxiliary function. In other words, it eliminates having to press Fn+Esc.
sofista
Posts: 650
Joined: 24 Feb 2020, 13:59
Location: Buenos Aires

Re: Key is not detected in KeyHistory

08 May 2021, 17:53

mikeyww wrote:
08 May 2021, 16:48
In many cases, too, the BIOS can be configured to swap the function keys, so that the default is the normal key rather than the auxiliary function.
If available, it is the simplest solution and the one I used on my laptop. It worked very well.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Ineedhelplz, Spawnova and 316 guests