You can edit the programs started by the IBM/Lenovo hotkey driver/program (this is still needed).
Those actions can be in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY.
The registry key for Fn+F9 is
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\09
To start a program, you need two possibly new string values:
File: The program you want to start
Parameter: The commandline parameters for your program
Possibliy you need to reboot, to activate the changes.
Here a sample USR_FNF9.reg:
Code: Select all
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\09]
"File"="C:\\Program Files\\USB Safely Remove\\USBSafelyRemove.exe"
"Parameters"=""