Simple bug [Send by Hotkey]

Report problems with documented functionality
DoesntHavingTimeFor

Simple bug [Send by Hotkey]

15 Mar 2018, 16:19

So,
To use this script, run it and hold Space and then click MButton
The bug: the Space gets released for a little while and the it gets hold again.

The bug doesn't works for keyboard keys, I only do the test on MButton. I guess it's because they key is from the mouse ...
It also works for others hotkeys-type such as $, ~, etc ...

Code: Select all

MButton::
{
	Send,{Space up}
	return
}
Thanks for fixing that bug...
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Simple bug [Send by Hotkey]

31 Mar 2018, 05:03

You called Send,{Space up} and space-up was sent. AutoHotkey's part is done. No bug.

Physically pressing any other key will stop Space from repeating. This is standard keyboard behaviour and has nothing to do with whether or not that other key is a hotkey. Your script can't stop it from repeating, but you can block it with a hotkey, which can be turned on with the Hotkey command when you want it blocked and off when you don't.

Return to “Bug Reports”

Who is online

Users browsing this forum: niCode and 20 guests