Start new window
Hello,
I have a MX3-L wireless airmouse/keyboard and would like to remap the Home button on it to a combination of keys. I want to use the Home button for starting a new window of Firefox (Ctrl+N). Default page for Firefox is google.com. If I press the Home button while the window is not focused it opens a new window. If I press the Home button while the window is focused on it goes to the default page. So if I'm on any other page other than the default, I loose it, which I don't want. This used to work properly in Win7, but fails in Win10.
I also have a Microsoft Ergo 4000 wired keyboard which has a Home button. The button can be remapped/disabled by the Microsoft Mouse and Keyboard Center. The default for the button is Start Web Browser. It behaves the same as the Home button on the airmouse. What I can do here is map the button so it starts a program. Setting it to start firefox.exe give me the result I want. Problem is this only affects the Microsoft keyboard.
Tried the following software: Key remapper Sharp keys Microsoft Keyboard Layout Creator Keyboard-layout-editor.com KeyTweak MapKeyboard Key Mapper Key extender
Some did not see the Home key at all, and even the ones that saw it did not work. The only one that could remap to combination of keys is Key remapper, but does not work properly: I make the change to remap Home to Ctrl+N. This reactivates the Home button on the keyboard, even If I have it disabled. Pressing the Home button on the airmouse opens a new window, but also sends the old to it's default.
Can I change the firefox instead of going home to open a new window?
Solución elegida
I found a solution with AutoHotKey.
Used this program: https://www.softpedia.com/get/System/System-Info/Keyboard-Test-Utility.shtml
The button for the Home/Web is listed as: VK Code: ACh (172) VK_BROWSER_HOME Scan Code: 00h (0) (Extended) For a split second the Scan Code is 32h (50), without Extended. This is the same for the keyboard and airmouse.
I was successful with this script: BROWSER HOME virtual key code is 0xAC VKAC::Run "C:\Program Files\Mozilla Firefox\Firefox.exe"
Leer esta respuesta en su contexto 👍 0Todas las respuestas (5)
Those keyboard keys mapping is a O/S and keyboard driver settings. You have to make those changes there to affect the Browser in return.
See also the "-new-window" command line switch:
@cor-el I'm new at this, so I'm not sure how to use this. I can use Run to create a new window: "C:\Program Files\Mozilla Firefox\firefox.exe" -new-window
The problem is that I cannot map the Home button on the airmouse. When this is pressed (if I am in a Firefox web page focused) it takes me to the Homepage.
How do I change Firefox from instead of going to the Homepage to open a new window?
Or can I change Firefox internally, instead of going to default page, to open a new window (with the default page)?
Solución elegida
I found a solution with AutoHotKey.
Used this program: https://www.softpedia.com/get/System/System-Info/Keyboard-Test-Utility.shtml
The button for the Home/Web is listed as: VK Code: ACh (172) VK_BROWSER_HOME Scan Code: 00h (0) (Extended) For a split second the Scan Code is 32h (50), without Extended. This is the same for the keyboard and airmouse.
I was successful with this script: BROWSER HOME virtual key code is 0xAC VKAC::Run "C:\Program Files\Mozilla Firefox\Firefox.exe"
Modificadas por JBR_02 el