Any ideas on how to make it so whatever your key to open up console is, also pauses your script until you hit that same key again? For me, it's when I hit the ù key (AZERTY keyboard). I've figured out through keyhistory that this counts as virtual key C0, scan code 028, but I can't even get that to work while remapping a different key to just open up the console as a test.
This, for example, should work as far as I can figure, but doesn't:
U::{vkC0sc028}
If I add Send or SendInput, it doesn't change anything. Am I right in thinking I need to send a different key to Fallout 4 than the key that is being intercepted by AutoHotKey?
:Edit: Okay, so just doing u::ù seems to work to remap console... Now I'm trying to make it open console and pause script so I can type my command without remappings, then toggling both again on a second keypress... The problem here is that I can't just do:
u::ùSuspend, Togglereturn
Because then it turns into an error since ù is an unrecognized command. I don't know what to put before it in order to get this to work.
:Edit2: Did a bit more searching and ended up going a different route - this works exactly as I want it to:
~ù::Suspend, Toggle
Basically causing AHK to fire its Suspend command, without blocking the ù key from going through to Fallout 4.