Change Internet hotkey

0

My laptop (Acer Aspire 6930) has a hotkey to open the web browser. However, I just got Firefox. How can I change the hotkey so that it opens Firefox instead of Internet Explorer?

I already contacted Acer. They told me to phone them (at cost), which I would rather avoid since it's such a trivial matter.

Matt

Posted 2009-11-06T18:21:58.810

Reputation:

Answers

2

It is stored in the registry somewhere, and it's different across keyboards from my experience. It would be easiest to just install AutoHotkey and use this:

SC##::Run, C:\Program Files\Mozille Firefox\Firefox.exe

You will need to replace ## with the scan code of the key and the path with your Firefox path. You can find the scancode of the key with this script:

SetFormat, Integer, Hex
Gui +ToolWindow -SysMenu +AlwaysOnTop
Gui, Font, s14 Bold, Arial
Gui, Add, Text, w100 h33 vSC 0x201 +Border, {SC000}
Gui, Show,, % "// ScanCode //////////"
Loop 9
  OnMessage( 255+A_Index, "ScanCode" ) ; 0x100 to 0x108
Return

ScanCode( wParam, lParam ) {
 Clipboard := "SC" SubStr((((lParam>>16) & 0xFF)+0xF000),-2)
 GuiControl,, SC, %Clipboard%
}

simply run the script, then press the web browser hotkey to find the scan code. Change SC## in the first script to this scan code, and you're good to go.

John T

Posted 2009-11-06T18:21:58.810

Reputation: 149 037

0

On my system, I just had to select Firefox as default browser (tested on Vista and Windows 7 - it might be different with other versions or specifically modified for OEM).

RedGlyph

Posted 2009-11-06T18:21:58.810

Reputation: 140

Ya, it's already my default browser. – None – 2009-11-06T21:27:22.353

In that case I'm sorry, all I can think of is a keyboard driver that could particularize the hotkey settings, some let the user choose, some other don't. There is an application from Microsoft - MSKLC - which allows you to define a new keyboard from an existing one. I can't guarantee it allows to redefine the hotkeys though, but it's a quick download and it won't mess with your system. It's worth a try: http://msdn.microsoft.com/en-us/goglobal/bb964665.aspx

– RedGlyph – 2009-11-06T21:39:39.207

0

Thanks for your answers guys. I actually figured it out: Acer has a "Launch Manager" that allows you to configure these shortcut keys.

Matt

Posted 2009-11-06T18:21:58.810

Reputation:

@Matt - if you associate your StackOverflow and SuperUser accounts you'll regain ownership of this question. – ChrisF – 2009-11-10T21:24:03.427

@ChrisF, if the question was moved before he created the SuperUser account, he won't. – Gnoupi – 2009-11-10T22:00:20.983