not work when !]:: Send("^{Insert}a")
Posted: 15 Feb 2024, 00:02
Code: Select all
!]:: Send("^{Insert}a")
For comparison, the following code works fine when pressing Shift+]
Code: Select all
+]:: Send("^{Insert}a")
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=14&t=126081
Code: Select all
!]:: Send("^{Insert}a")
Code: Select all
+]:: Send("^{Insert}a")
Can you reproduce this bug on the right Alt? The left Alt is fine.lexikos wrote: ↑01 Mar 2024, 00:16I am dubious. The hotkey !]:: would not execute if you held AltGr, because the system treats AltGr as Alt+Ctrl. Pressing AltGr+] would have the same effect as without the script, which is not to select all. On the US International layout, it is to produce ». Even !»:: doesn't execute if I press AltGr+], although ^»:: does.
I'm in China and I use US keyboard layout, so I don't have the AltGr key. When executing
Code: Select all
!]:: Send("^{Insert}a")
Code: Select all
A5 138 d 3.50 RAlt
DD 01B d 0.31 ]
A2 01D i d 0.00 LControl
A5 138 i u 0.00 RAlt
2D 152 i d 0.00 Insert
2D 152 i u 0.00 Insert
41 01E i d 0.00 a
41 01E i u 0.00 a
11 01D i d 0.00 Control
A5 138 i d 0.00 RAlt
11 01D i u 0.00 Control
DD 01B u 0.09 ]
A5 138 u 0.03 RAlt