"Insert" is not a toggle key

Report problems with documented functionality
Ben-Kaniobi

"Insert" is not a toggle key

22 May 2017, 15:16

Using state := GetKeyState( "Insert", "T" ) might not return the correct insert mode state, because the mode is application dependent and not OS wide (like for example CapsLock is).
The function simply toggles the return value each time it is called (the same thing happens for any key that cannot actually be toggled).

--> In the help, the description for the "T" mode should be updated (remove the Insert key from the list). Alternatively an update to the function would be awesome, maybe AutoHotkey can check the actual carret icon and use that information to identify the currently active mode. :roll:

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 24 guests