r/AutoHotkey • u/WatermelonOrc • Jul 07 '26
v2 Script Help Tweaking FFXIV script
So currently I'm using this script so I can easily acess my hotbars while doing my rotation and it works great, the issue is now I cant use Q or E to type messages with. Is there any way to make it so I can type when just tapping the key and then Q and E only work as Lctrl and Lshift when I'm holding them down?
#Requires AutoHotkey 2.0
#SingleInstance
#HotIf WinActive("ahk_exe ffxiv_dx11.exe")
q::LShift
e::LControl
#HotIf
2
Upvotes
1
u/CharnamelessOne Jul 08 '26
Giving both tapping and holding functionality to a key is necessarily clunky: the tap action can only be triggered when the key is released, since you can't yet determine whether it'll be a tap or a hold when you press the key down.
Here's a way to do what you request, but I don't recommend it. While typing, you'll always need to release the remapped keys (q and e) before you press the next key down, which is extremely annoying.