I'm still fairly new to AHK so I'm not quite sure how trivial this is. I have the following script set up.
Code: Select all
$a::
Send {a down}
keyWait, a
Send {A}
Send {a up}
return
$d::
Send {d down}
keyWait, d
Send {D}
Send {d up}
return
Here's the outputs I expected (left) | received (right)
hold a: a | a
hold d: ad | ad
release a: adA | ad
release d: adAD | adDA
I can sort of understand the intuition behind how this works (feel free to elaborate if you're so inclined) but I'm a bit lost as to how to get to my desired output.
Thanks in advance for any help and / or pointers you can provide!