 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
instantrunoff
Joined: 13 Jan 2008 Posts: 115
|
Posted: Wed Oct 28, 2009 5:48 pm Post subject: Scan Code as Hotkey Prefix |
|
|
| After a recent BIOS update, the Fn key on my Thinkpad now registers a scan code in the AHK window: 163. However, "SC163 &"-style hotkeys do not work. The keyboard hook is active. Any suggestions? Thank you. |
|
| Back to top |
|
 |
txquestor
Joined: 22 Aug 2009 Posts: 294
|
Posted: Wed Oct 28, 2009 7:39 pm Post subject: |
|
|
Try This:
| Code: |
#InstallKeybdHook
SC163::send,{Lwin down}
SC163 up::send,{Lwin up}
|
Or Chris's solution for remapping it.
| Code: |
*LCtrl:: ; The asterisk makes the remapping more complete on XP/2k/NT.
Send, {vkFFsc163 down}
Loop
{
Sleep, 10
GetKeyState, state, LCtrl, P
if state = U ; The key has been released, so break out of the loop.
break
}
Send, {vkFFsc163 up}
return
|
Tonne's FN solution
http://www.autohotkey.com/forum/topic15085.html
How to use the FN key
http://www.autohotkey.net/~daonlyfreez/tutorials/3p/Veil/fnkey.htm _________________
"Man's quest for knowledge is an expanding series whose limit is infinity" |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|