!q::click when used in chrome causes the alt click shortcut to fire. Meaning chrome still sees the alt as held down when it clicks
The way autohotkey is supposed to work is that when a hotkey uses an alt or a ctrl etc , it's supposed to be temporarily released. But it's not doing that here for some reason.
Have to do something like
!q up:: click
So, why isn't the alt released?
Why is the alt not released in this hotkey. !q::click ? Topic is solved
Re: Why is the alt not released in this hotkey. !q::click ? Topic is solved
Hallo,
see: https://www.autohotkey.com/docs/commands/Click.htm#Remarks
Unlike Send, the Click command does not automatically release the modifier keys (Ctrl, Alt, Shift, and Win). For example, if Ctrl is currently down, Click would produce a control-click but Send {Click} would produce a normal click.
see: https://www.autohotkey.com/docs/commands/Click.htm#Remarks
Unlike Send, the Click command does not automatically release the modifier keys (Ctrl, Alt, Shift, and Win). For example, if Ctrl is currently down, Click would produce a control-click but Send {Click} would produce a normal click.
Re: Why is the alt not released in this hotkey. !q::click ?
Great info, thanks.Rohwedder wrote: ↑19 Jun 2021, 04:09Hallo,
see: https://www.autohotkey.com/docs/commands/Click.htm#Remarks
Unlike Send, the Click command does not automatically release the modifier keys (Ctrl, Alt, Shift, and Win). For example, if Ctrl is currently down, Click would produce a control-click but Send {Click} would produce a normal click.