I can confirm both statements from thinkstorm as it is the same on my T40. :roll:
As well as Chris' with the A+F2/LButton combo 8)
Interesting, as I tried to log in the forum to write this down, I wasn't able to enter the A character as part of the username while the hotkey was active :shock:
FN key on a notebook ...
Started by
Beastmaster
, Jun 03 2004 07:39 AM
53 replies to this topic
#16
-
Posted 06 August 2004 - 01:46 PM
Hi,
that works for me, too. It just seems that FN+a doesn't generate anything hookable, I can't even see the FN key up/Down in the key history window when pressed together with another key, only by itself...
well, doesn't really matter, #F2 works fine, too
that works for me, too. It just seems that FN+a doesn't generate anything hookable, I can't even see the FN key up/Down in the key history window when pressed together with another key, only by itself...
well, doesn't really matter, #F2 works fine, too
#17
-
Posted 06 August 2004 - 03:51 PM
That's expected since the scan code in question is the letter A. It was just for testing (but you could add the ~ modifier to make it a "pass-through" key and thus resolve that issue).I wasn't able to enter the A character as part of the username while the hotkey was active
Thanks everyone for testing it.
#18
-
Posted 06 August 2004 - 08:14 PM
could you let me know how this code is used? I need to somehow do a Fn F5 ALT T to disable the wireless at build time.
Thanks
Thanks
#19
-
Posted 09 August 2004 - 11:04 AM
Whether it's possible depends on your particular notebook hardware. Read through the rest of the posts on page 1 of this topic, specifically the parts about detecting special keys, the method for which is at the bottom of this page:
http://www.autohotke...htm#SpecialKeys
Once you find the virtual key and scan code of the Fn key, you might be able to simulate it via Send {vkXXscYYY}.
http://www.autohotke...htm#SpecialKeys
Once you find the virtual key and scan code of the Fn key, you might be able to simulate it via Send {vkXXscYYY}.
#20
-
Posted 10 August 2004 - 12:29 AM
Hey, this is great information! I'm glad I stumbled in to this place. I'm trying to map one of my keys (whether the browser back or FN key) to my "Windows" hot key. The code in this top seems to work to get the start menu to pop up, but I would really like to get the other functions working such as Win+D (Show Desktop), Win+M (Minimize All), Win+L (Lock Screen), Win+E (Explorer). I tried the following to map the Browser back key but it doesn't sem to work:
Thanks,
Dustin
SC16A:: ; The asterisk makes the remapping more complete on XP/2k/NT. Send, {LWIN down} Loop { Sleep, 10 GetKeyState, state, SC16A, P if state = U ; The key has been released, so break out of the loop. break } Send, {LWIN up} returnAny suggestions?
Thanks,
Dustin
#21
-
Posted 16 September 2004 - 01:18 PM
Getting the keystate of a scan code isn't supported yet (I'll looking into it for a future version). Try this instead:
*Browser_Back: ; The asterisk makes the mapping more complete.
Send, {LWin down}
KeyWait, Browser_Back; Wait for key to be released.
Send, {LWin up}
return
If that doesn't work, perhaps your PC has some software or driver on it that hides the multimedia/Internet keystrokes from the rest of the system. In other words, Browser_Back might be handled at too low a level.
By the way, the KeyWait command was added a couple of weeks ago, so if your AutoHotkey was downloaded earlier than that, you might want to update it.
*Browser_Back: ; The asterisk makes the mapping more complete.
Send, {LWin down}
KeyWait, Browser_Back; Wait for key to be released.
Send, {LWin up}
return
If that doesn't work, perhaps your PC has some software or driver on it that hides the multimedia/Internet keystrokes from the rest of the system. In other words, Browser_Back might be handled at too low a level.
By the way, the KeyWait command was added a couple of weeks ago, so if your AutoHotkey was downloaded earlier than that, you might want to update it.
#22
-
Posted 16 September 2004 - 03:27 PM
IBM offers a free utility called "Keyboard Customizer" for their laptops on their website. Only problem is you can't remap the FN function key.
It only remaps the Windows Key and Application Key (Right-Click) to other keys like Alt, Ctrl, etc. (but not FN).
Good thing about it is that it is very stable and has not interfered with AutoHotkey operation at all.
It only remaps the Windows Key and Application Key (Right-Click) to other keys like Alt, Ctrl, etc. (but not FN).
Good thing about it is that it is very stable and has not interfered with AutoHotkey operation at all.
#23
-
Posted 16 October 2004 - 01:08 PM
Hello,
The following seems to work for me (e.g., Win+E, etc...), code modified from other posts in the forum, so credit where credit is due. I'm using an IBM T41.
--djo
The following seems to work for me (e.g., Win+E, etc...), code modified from other posts in the forum, so credit where credit is due. I'm using an IBM T41.
--djo
*SC16A:: Send, {LWIN down} Loop { Sleep, 10 GetKeyState, state, vkA6sc16A, P if state = U ; The key has been released, so break out of the loop. break } Send, {LWIN up} return *SC169:: Send, {AppsKey down} Loop { Sleep, 10 GetKeyState, state, vkA7sc169, P if state = U ; The key has been released, so break out of the loop. break } Send, {AppsKey up} return
#24
-
Posted 28 December 2004 - 02:30 AM
hi im just wondering how i to enter these keys Fn+F2 because i dont have an Fn key on my keyboard. is there any other way of doing this??
could u plz contact me on my account [email protected]
could u plz contact me on my account [email protected]
#25
-
Posted 23 October 2006 - 11:51 AM
You might have no notebook-PC, right? If no, which one??because i dont have an Fn key on my keyboard
#26
-
Posted 23 October 2006 - 01:54 PM
Actually not true for me - I used a Norwegian keyboard layout, and sacrificed AltGr to be used as Windows-key, and right Ctrl as Application key to get around without using the mouse *all* the time. However, when doing hotstrings including curly brackets ("{" and "}"), they came out as 7 and 0. This makes sense, since on a Norwegian keyboard, AltGr+7 = {, Alt+Ctrl+7 = {, AltGr+0 = } and Alt+Ctrl+0 = }.IBM offers a free utility called "Keyboard Customizer" for their laptops on their website. Only problem is you can't remap the FN function key.
[...]
Good thing about it is that it is very stable and has not interfered with AutoHotkey operation at all.
Anyways, I disabled the IBM Keyboard Customizer, and my hotstrings worked OK. Then I added the keyremapping in my autohotkey.ini as described by dotoshi in:
http://www.autohotke...98-15.html#9853
Thanks for a great app!
#27
-
Posted 09 July 2007 - 02:36 AM
I found a serious problem with mapping a key to be WinKey :shock:[...]I added the keyremapping in my autohotkey.ini as described by dotoshi in:
http://www.autohotke...98-15.html#9853
Currently I'm using a script that sends WinKey down, loops to check when the key is to be released (Loop, sleep, GetKeyState, if state=u -> ), and then sends WinKey up; see description in this post).
Actually, if I use the default win-shortcut (WinKey+L) to lock my computer, I'm not able to log in again. Since the computer locks with WinKey down, the script then never gets the key released, and I cannot enter the letter "l" (small L) in the password field. However, I can press u (that actually gets WinKey+u) to bring up the utility manager, where I can start the On Screen Keyboard and fiddle around a bit with the WinKey on the keyboard. Then, apparently the key finds it's up-state, and I can again log in with my password accidentally containing a lower-case L.
A quick-and-dirty fix is of course to change to a password without l and u, but I would prefer a more stable solution
Any ideas? (eg. by implementing a timer in the script that would let go of the down-state e.g. after 5 seconds?)
#28
-
Posted 09 July 2007 - 05:13 AM
My keyboard is broken and I'm using an usb keyboard which doesn't have a fn key, so I would like to remap the fn key into any other one.
Any one can help me?
Thanks
Any one can help me?
Thanks
#29
-
Posted 23 July 2007 - 10:08 PM
A tough challenge. We don't have your keyboard. We don't know which Nobo you use to know if we have the same keyboard. As your keyboard is broken how can you detect its scan-/vkcode? Input!
#30
-
Posted 24 July 2007 - 06:19 AM