Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do you write a script that will run the Fn + F12 keys on logon of an HP netbook running Win 7 Home 32-bit? The "Fn" key is the function key found on laptops/netbooks. Thank you.

share|improve this question
2  
I know what Fn does, but every manufacturer has a different arrangement for the function keys it's used with. So what does your F12 key do? –  Joel Coehoorn Dec 1 '10 at 14:37
    
Fn + F12 disables the touchpad on the netbook. –  Alex Dec 1 '10 at 14:44
    
Fn keys don't generally output a keycode so the OS never sees them. You need a way to programatically perform the function that the key combination provides. Your question should be "How can I disable the touchpad by default on boot?" –  Dennis Williamson Dec 1 '10 at 17:51
add comment

1 Answer

up vote 1 down vote accepted

Try using AutoHotKey:

It has a script generator that would allow you to actually "see" what is being pressed and you get the script for free. It's easy to make the script load on startup.

I never used it on Fn-supported keys, though - try it and see if it does. If nothing else, it's easy to try.

share|improve this answer
    
Thanks, icyrock.com. I'll download their tool and see what can be done. Your help is much appreciated :) –  Alex Dec 1 '10 at 18:41
    
@Alex Glad to help! –  icyrock.com Dec 1 '10 at 19:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.