My laptop has a button which used to trigger software (Acer PowerSmart Manager) which was supposed to reduce power consumption through undisclosed methods. The program was an irritation since it overrode screen brightness settings (actually making the screen brighter than I wanted it) and could not be customised so I uninstalled it. I would like to reasign the button to opening a program called GameBooster which I can use to close down many programs at once and restart them all again at a suitable time. The problem is that I don't know a) how to find out the scan code of this peculiar key (I think it might actually simulate two or more regular keys being pressed at the same time) nor b) how to make this trigger the execution of the GameBooster program (preferably without running an additional application). Surely Windows 7 has the capacity do this built in?
My Computer
OS
Win 7 Home Premium (OEM) - Install date: 02-2010
CPU
AMD X4 Phenom II 965
Motherboard
Gigabyte GA 790FXTA-UD5
Memory
OCZ Black Edition - 2x2GB DDR3-1600
Graphics Card(s)
Sapphire HD 5770 1GB GDDR5
Sound Card
Integrated
Monitor(s) Displays
Generic CRT
Screen Resolution
1024x7xx
Hard Drives
System: OCZ Vertex 2, 60 GB SSD
Data: Western Digital Caviar Black WD1002FAEX, 1TB HDD
If you have the scan code you can set it to do some action or even launch programs using the Run command.
As example, where xxx is some scan code for a key:
SCxxx & UP::Run,Explorer
the & UP means it fires when you release the key rather than on key press.
You can "compile" the script so it has AutoHotkey interpreter inside the exe. Avoids having autohotkey installed on the machine to use the script. Several of my utilities are just AHK compiled scripts that sit in the Task Tray waiting for a hotkey press.
My Computer
Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :
SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives