How to start a batch script using Fn + f9 key using autohotkey?
-
jackluo923 Notebook Virtuoso
-
You cant use FN, but for instance you could use ALT + F9
! means alt, and F9 obviously means F9.
Then rest is selfexplanatory.
-
jackluo923 Notebook Virtuoso
Is Fn key restricted or is it very hard to implement?
-
FN key does generate any scan codes, its a modifier key for the other buttons.
-
I think Fn is probably handled by the BIOS... or maybe the keyboard itself. It's not on traditional desktop keyboards... it's kind of a laptop thing, for controlling the hardware (e.g. brightness) and making up for missing keys (such as numeric keypad keys). In any case, I don't think Windows even knows about Fn.
-
jackluo923 Notebook Virtuoso
Final AHK script:
#F9::run devcon enable "PCI\VEN_8086&DEV_27CC&SUBSYS_015B1025"
#F10::run devcon disable "PCI\VEN_8086&DEV_27CC&SUBSYS_015B1025"
Everything runs great.
AutoHotKey help needed
Discussion in 'Windows OS and Software' started by jackluo923, Apr 24, 2010.