No, I don't have very much experience with AHK at all.
Up until now, the most "advanced" coding I have done is basic HTML formatting and the hotkeynet script I wrote for multiboxing wow. I really appreciate the help I'm getting here. I spent a lot of time googling this issue and couldn't find anything that could help.
Unfortunately even adding "Return" as suggested doesn't seem to fix the issue.
When I check out what's happening with keyboard hook + key history, all I see being sent is Lalt down a lot, then lcontrol down up. No ` at all.
Sorry, it's early in the morning and I'm just drinking my coffee. What do you mean when you say these things?
To determine Control use Spy tool
When I mouseover discord using the window spy tool, the "Focused Control" box is blank. The only information I see is the window title, class, exe, pid, as well as some mouse and window position info.
you should build on what already works for you, adding only one new Hotkey at a time.
I think that's what I'm doing in this case? Adding one new hotkey?
How many combination do you have?
Combination of what? I described how alt is being used in my last answer I think.
Maybe you could define all combination as simple Hotkeys as we already tried with LAlt::`
Remapping lalt in all situations isn't ideal, but just to test I tried adding LAlt::` back to the on its own outside of an #if statement. And on testing I realized that while the rebind works when warcraft isn't my active window, as soon as wow is my active window, I get the same issue again of lalt being held down, ` being pressed for a split second on release. So unfortunately this solution doesn't work either.
I know I'm new to this, but it honestly looks to me like World of Warcraft is somehow overriding AHK's attempt to rebind alt, and this might be combined with an issue with Discord not being able to receive hotkeys sent to it directly? Is that's what's going on?
Thanks for your continued help on this.
A big problem here is that I use alt as a conditional in many, many macros in warcraft and isboxer (multiboxing software that works with wow). I could potentially just use alt as my push to talk key. This would mean I'd have to rewrite all my wow macros and isboxer keybinds so that I'm using a different conditional or conditional combination, then rebind that new conditional to the c key on my gamepad (which is where alt is sitting now), but I'd really, really like to avoid that if I can. It feels like a really brute force workaround? There are some things I won't even be able to do if I can't use alt anymore (as it's bound to discord push to talk).