Remap in v2 uses SetKeyDelay and SendInput?

Share your ideas as to how the documentation can be improved.
User avatar
mikeyww
Posts: 26973
Joined: 09 Sep 2014, 18:38

Remap in v2 uses SetKeyDelay and SendInput?

10 Oct 2023, 06:53

Per https://www.autohotkey.com/docs/v2/misc/Remap.htm:

Code: Select all

*a::
{
    SetKeyDelay -1
    Send "{Blind}{b DownR}"
}
Is this accurate? Does v2 really use SendInput here (for remaps) by default, SendEvent, or simply the current Send mode?

If this code is accurate, then the documentation should clarify by indicating that the script's current Send mode will be used, and the key delay will be ignored if the mode is Input.

Return to “Suggestions on Documentation Improvements”

Who is online

Users browsing this forum: No registered users and 50 guests