Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Mapping a peculiar keyboard key to start program

04 Jan 2011   #1

Win 7 Home Premium (OEM) - Install date: 02-2010
Mapping a peculiar keyboard key to start program

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 System SpecsSystem Spec

13 Jan 2012   #2

MS Windows 7 Home Premium 64-bit SP1

I found a program called Keytweak and found the scan code for a special key, but it can only map to another key.
My System SpecsSystem Spec
13 Jan 2012   #3

Windows 7 32 bit

See AutoHotKey
AutoHotkey Community - Mouse and Keyboard Macros and Hotkeys

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 System SpecsSystem Spec


 Mapping a peculiar keyboard key to start program

Thread Tools

Similar help and support threads for2: Mapping a peculiar keyboard key to start program
Thread Forum
How can I change keyboard/numberpad mapping? General Discussion
Windows Runs Installation of Program When I Start Program Software
gamepad keyboard mapping software ? Gaming
Windows 7 IME wrong keyboard layout/mapping? Customization
How to schedule a task manager to start when I start another program Performance & Maintenance
Virtual Box screws up keyboard mapping after exiting Virtualization
A peculiar problem! General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:37 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33