and execute keyup_a.ahk when the "up" event for it fires. In these scripts I am wrapping the "a" key in F24 (like a modifier key). and in another script (main.ahk) I am listening to those keys that have been wrapped in F24.
The program I am using blocks the actual events from firing, so that I can send the events manually in the keydown_a.ahk and keyup_a.ahk and wrap them in F24.
However, for some reason, the keydown_a.ahk and keyup_a.ahk don't seem to trigger the hotkeys I've defined in main.ahk. How do I fix this?
main.ahk:
Code: Select all
#if GetKeyState("F24")
f::MsgBox, Test ; This hotkey doesn't get triggered for some reason
Code: Select all
Send, {F24 down}{f down}
Code: Select all
Send, {f up}{F24 up}