Holding multiple hotkeys seems ruining key mapping

Report problems with documented functionality
sonicfly
Posts: 1
Joined: 11 Mar 2019, 22:47

Holding multiple hotkeys seems ruining key mapping

11 Mar 2019, 23:04

Environment:
AutoHotKey version 1.1.30.01
Windows Version: Windows 10 Home Version 1803 (OS Build 17134.590)

I have a very simple script to map my left windows key to 'p' and left alt key to 'l' to avoid accidental clicks in game

Code: Select all

LWin::p
LAlt::l
But I found, if run script and act as following
1. Open a text editor
2. press and hold LWin for several seconds (showing "ppppppppp")
3. press LAlt, then release LAlt (showing "l")
4. release LWin
Then the LWin mapping will get messed up, it seems making the 'LWin pressed' forever.
So, my LWin press triggers "LWin+p", which switches the screen projecting; my normal 'd' key triggers 'LWin+d', which shows the desktop.
It will continue until I quit the script running, then press and release the 'LWin' again! :headwall:
joefiesta
Posts: 498
Joined: 24 Jan 2016, 13:54
Location: Pa., USA

Re: Holding multiple hotkeys seems ruining key mapping

12 Mar 2019, 09:38

WARNING: do not try this at home

not without saving everything first!!!

I tried it and, sure enough, got the same results. But, it was worse. Stopping the SCRIPT did not undo the problem. I had to forcibly shutdown.

I am running AHK 1.1.30.01 as well, but on Windows 7 Professional 32-bit.

btw: very nice, clear explanation of the problem Sonicfly.

Return to “Bug Reports”

Who is online

Users browsing this forum: lexikos and 23 guests