AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scan Code as Hotkey Prefix

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
instantrunoff



Joined: 13 Jan 2008
Posts: 115

PostPosted: Wed Oct 28, 2009 5:48 pm    Post subject: Scan Code as Hotkey Prefix Reply with quote

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
View user's profile Send private message Visit poster's website
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Wed Oct 28, 2009 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group