This part of the code is not triggering:
Code: Select all
#If GetKeyState("F14", "P")
...
(code to trigger when F14 is pressed with other standard keys)
AutoHotKey in general is working fine in other more direct cases without a trigger key. These pieces of code work:
Code: Select all
F13::Send {Enter}
::f.dl::C:\Users\Administrator\Downloads{enter}
::u.shop::https://example.com/shop
I've tried with other trigger keys that aren't F14:
Code: Select all
#If GetKeyState("Ctrl", "P")
Code: Select all
#NoEnv
#InstallKeybdHook
#InstallMouseHook
#UseHook
SetCapsLockState, AlwaysOff
SendMode Input
DetectHiddenWindows, On
Note all of this works when working on the host machine directly. But just the GetKeyState hook does not work when accessing via VNC