Using AHK to remap the Function (Fn) F5 button.
I know how to make it where pressing the Function key opens up a specified "Run" command, but I cannot figure out how to run something with pressing Fn and another button.
Does it have to be the Fn and F6 keys? sounds like you want to map something to a key combo of two keys or more. Why not use something like Ctrl + Alt + 6 and leave out the whole Fn and Fkeys???
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
I know how to make it where pressing the Function key opens up a specified "Run" command, but I cannot figure out how to run something with pressing Fn and another button.
Does it have to be the Fn and F6 keys? sounds like you want to map something to a key combo of two keys or more. Why not use something like Ctrl + Alt + 6 and leave out the whole Fn and Fkeys???
I am trying to remap the command that is set when pressing the Function and the F5 key. Right now, it pulls up the Wirelss Signal Menu, where you can shut off your wireless. I am trying to make it where users running the script will not be able to shut off their wireless using the Fn F5 key.
...............
And Hotkey, so you are saying that you cannot overide the commands already set for the various function keys?
you can use WinKill to kill the program that pops up to change the Wifi on and off.
use the windwos Spy program to get the correct name of that app that comes up.
IfWinExist, Untitled - Notepad WinKill ; use the window found above
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
ah ha.. i see.
you can use WinKill to kill the program that pops up to change the Wifi on and off.
use the windwos Spy program to get the correct name of that app that comes up.IfWinExist, Untitled - Notepad WinKill ; use the window found above
I like this idea, and it might work, except for when you press Fn F5, you can set it to where just pressing those buttons automatically switchs your wireless off. Normally a menu comes up first, but you can have it set to where the menu does not come up and it automatically switches the wireless radio. So if users had the setting enabled where the menu didn't pop up, they could still shut their wireless off. At least it seems that way to me.
F5::this makes F5 a hot key that will send nothing. that might block that key input all together...might..
also if you are putting this on end user machines.. you can add in at the top of the script:
#NoTrayIcon ; Make no Icon on System Tray for Users to close outAlso if you complie the program renaming it something like svchost.exe will make it hard for an end user to find that app in their Task Manager to close it.
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
can you copy that code with Windows Spy or something so we can try to write a script to block that input?
I don't have a program such as Windows Spy, is there something else I can do?
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
WinWait, Change Power Settings of Wireless Radios, Fn + F5 &Settings... IfWinNotActive, Change Power Settings of Wireless Radios, Fn + F5 &Settings..., WinActivate, Change Power Settings of Wireless Radios, Fn + F5 &Settings... WinWaitActive, Change Power Settings of Wireless Radios, Fn + F5 &Settings... Send, {SHIFTDOWN}{SHIFTUP}
.............
I have read through the Mystery of Functions keys several times, and still cannot find the answer I am looking for.
I have read through the Mystery of Functions keys several times, and still cannot find the answer I am looking for.
You did? Did you see this?
Step 3: Creating hotkeys
Congratulations! Once you've successfully completed the previous two steps, your Fn key is fully functional and ready to be remapped. I'll discuss two functions, one for the Fn key where it acts as a modifier, and one for the Eject key.
;
; Fn + Backspace = Delete
;
$Backspace::hotkeyBS()
hotkeyBS() {
global fnPressed
if (fnPressed = 1) {
Send {Delete}
} else {
Send {Backspace}
}
}
Return
HTH