Change Zoom Action to scroll in a MS Natural Keyboard 4000

40

34

I have this MS Ergo Natural Keyboard 4000 on windows 7, with the SetPoint Intellitype Software. I want to change the action of the center zoom to make it sroll. I'm some old versions of Firefox it worked that way, until I update it to FF 4 Beta 5.

Is there any way I can change that action? I don't use the zoom at all.

Thanks in advance

josecortesp

Posted 2010-10-03T22:01:34.230

Reputation: 679

2

so many people search for this that my query was autocompleted by Google (http://i.imgur.com/NoHmPrW.png) and yet nobody in Microsoft ever thought it might be a good idea?!

– georgiecasey – 2015-03-24T05:11:09.860

1Anything for Mac users? – Sherzod – 2015-04-28T17:19:09.277

Um, SetPoint is Logitech software, not Microsoft. Did you mean IntelliType? – MBraedley – 2010-10-04T02:07:09.553

I installed driver for the keyboard, but dont have any "microsoft IntelliType pro" directory. Where else should I look for that commands.xml? – Buksy – 2019-09-25T07:45:55.803

Answers

27

I know this is an old question but I had to work this out for myself so it's worth spreading:

Unfortunately, the Ergonomic keyboard config utility doesn't allow you to change the settings for the centre zoom button. In order to do so, you will have to edit the C:\Program Files\Microsoft Intellitype Pro\commands.xml file manually. (For computers running the more recent Microsoft Mouse and Keyboard Center the path is C:\Program Files\Microsoft Device Center\commands.xml)
N.B. the contents of this file change depending on which version you have so make sure you have the same version as me before you try. The version number can be found at the top of the Commands.xml file. My version is:- 8.0.225.0 If this explanation gets too basic, it's because I don't know how much you know about Windows or config files.

First thing to do is make a copy of the Commands.xml file, that way if you mess up it's repairable. Simplest way to do this is to copy and then paste it straight back into the same directory, Windows will call it Commands - copy.xml. If you mess up, just delete Commands.xml and rename Commands - copy.xml to Commands.xml

Second, open the original file to edit it (right click -> edit) and insert the following lines in between 2 entries towards the bottom of the file (under the <ALL> element, which comes last):

    <Application UniqueName="MozillaUIWindowClass" AppName="Firefox">
        <C319 Type="6" Activator="ScrollUp" />
        <C320 Type="6" Activator="ScrollDown" />

The end of your commands.xml file should end up looking something like this:

    <Application UniqueName="GeminiWindowClass" AppName="RealOne Player">
        <C309 Type="5" KeySeq="alt F4" />
    </Application>
    <Application UniqueName="MozillaUIWindowClass" AppName="Firefox">
        <C319 Type="6" Activator="ScrollUp" />
        <C320 Type="6" Activator="ScrollDown" />
    </Application>
    <Application UniqueName="GMail" AppName="GMail">
        <C204 Type="5" KeySeq="ctrl y" />
        <C309 Type="5" KeySeq="ctrl w" />
        <C319 Type="6" Activator="IEZoomIn" />
        <C320 Type="6" Activator="IEZoomOut" />
        <C401 Type="0" />
    </Application>
    <Application UniqueName="LiveHotmail" AppName="Live Hotmail">
        <C204 Type="5" KeySeq="ctrl y" />
        <C309 Type="5" KeySeq="ctrl w" />
        <C319 Type="6" Activator="IEZoomIn" />
        <C320 Type="6" Activator="IEZoomOut" />
        <C401 Type="0" />
        <C900 Type="5" KeySeq="ctrl r" />
        <C901 Type="5" KeySeq="ctrl shift f" />
        <C902 Type="5" KeySeq="ctrl enter" />
    </Application>
    <Application UniqueName="Picasa" AppName="Picasa">
        <C319 Type="5" Activator="pageup" />
        <C320 Type="5" Activator="pagedown" />
    </Application>
</ALL>

Now I know that there is already a Firefox section in this file near the top, however, when I tried inserting the scroll entry up there it wouldn't work, as though some setting further down was overriding the entry. Go figure.

To get the zoom to work correctly in Firefox use the following lines instead:

<Application UniqueName="MozillaUIWindowClass" AppName="Firefox">
        <C319 Type="5" KeySeq="ctrl +" />
        <C320 Type="5" KeySeq="ctrl -" />
    </Application>

Good luck.

Tog

Posted 2010-10-03T22:01:34.230

Reputation: 4 747

I missed the bit about <ALL> element and wasted quite a few tries editing other parts of the file. %) Also just edited UniqueName="StandardSupport" section instead of adding new entries. – Rarst – 2016-05-06T18:51:12.680

THanks! I'll try it tomorrow 'cause i'm not with the keyboard today.... – josecortesp – 2010-10-05T04:41:50.043

1My driver just updated to Microsoft Mouse and Keyboard Center, and I lost this functionality :( I do not have a Microsoft Device Center folder like you mention, but a Microsoft Mouse and Keyboard Center. However, changing the commands file that exists there hasn't brought the scroll functionality back. Anyone else having this issue? – Ben – 2013-09-18T13:07:31.753

3unless you have some overriding configuration for a specific application (for example Visual Studio 2010 or Chrome), you can add same lines under <Application UniqueName="StandardSupport"> tag to support anything else. My two cents. – keremispirli – 2014-02-03T15:19:45.127

15

You can also use notepad++ and the Replace Dialog(Ctrl+F and select Replace tab). Check "Regular Expression" in the bottom left side of the dialog and use these to remap the zoom key:

Find what: <C319 .* />
Replace with: <C319 Type="6" Activator="ScrollUp" />

Find what: <C320 .* />
Replace with: <C320 Type="6" Activator="ScrollDown" />

Side note: the process is now called itype.exe. Close the process and restart it(Task Manager->File->Run new task-> "itype.exe") for the changes to take effect.

Andrei

Posted 2010-10-03T22:01:34.230

Reputation: 251

Works, but scrolling is very slow in most applications, including Firefox and Windows explorer. Any idea how to improve that? – angularsen – 2014-11-17T09:32:02.240

Maybe try to adjust the "zoom speed". Unfortunately i don't have the keyboard anymore to test this (spilled beer on it... bad idea) but maybe someone else has and idea. – Andrei – 2014-11-18T14:54:05.257

Adjusting the zoom speed worked for me. – kindall – 2017-07-14T21:32:15.603

This seems to have worked for me. One aspect I find annoying is that scrolling is determined by the location of the mouse, not which program is selected. That's a useful feature if you're scrolling with the mouse, but not so helpful if you're trying to scroll using the keyboard. – filups21 – 2019-06-05T15:48:08.447

I found this regex idea in another site and it caused errors with the intelliType application (win8, v 8.20). This tutorial worked for me, though: http://www.pchenry.com/Home/tabid/36/EntryId/77/Do-you-have-a-Microsoft-Keyboard-with-a-Zoom-Complex.aspx

– rdmptn – 2013-12-13T14:50:15.947

11

To build on top of Tog's answer, here is a script that does the replacements automatically for you. It is basically an XSL transform applied to the commands.xml file. And it does the backup for you.

http://teamagile.com/downloads/ZoomToScroll.zip

Look inside for the instructions. Keep in mind, you may have to run the script inside an administrator command prompt if you have UAC enabled.

I tried it on a v8.20.469.0 file and it worked as expected.

This script is not made by me, it's made by Roy Osherove. See original source

yop83

Posted 2010-10-03T22:01:34.230

Reputation: 271

1If you have Microsoft Mouse and Keyboard Center unzip the files here instead: C:\Program Files\Microsoft Mouse and Keyboard Center. make sure to run the file as admin. After that, run mskey.exe -> "action" -> "close intelli pro". After it is closed, you can click on "actions" again and "Launch Keyboard Control Panel" -> Open "Microsoft Mouse and Keyboard Center". It should work now. – Gustavo Puma – 2016-04-06T23:30:13.057

8

My file version is 8.20.469.0 and the solution for version 8.0.225.0 did not work for me.

What worked however is

change:

<Application UniqueName="MozillaWindowClass" AppName="Netscape">
    <C319 Type="5" KeySeq="ctrl add" />
    <C320 Type="5" KeySeq="ctrl subtract" />            
</Application>

to:

<Application UniqueName="MozillaWindowClass" AppName="Netscape">
    <C319 Type="6" Activator="ScrollUp" />
    <C320 Type="6" Activator="ScrollDown" />            
</Application>

Ali

Posted 2010-10-03T22:01:34.230

Reputation: 1 151

It seems to be linked to the UniqueName. The Autiit Window info confirms the WindowClass of Firefox is now "MozillaWindowClass" again. The correct AppName would be "Mozilla Firefox," but it doesn't seem to care about that. – Dan – 2018-07-17T19:58:00.170

1Thank you very much. Yes, changing the "Firefox" setting didn't work for me, but changing this "Netscape" setting works. – wujj123456 – 2012-09-14T02:36:59.580

4

yop83's answer did the trick for me, but I did have to restart the driver for it to take affect. You can do that by launching mskey.exe -> "action" -> "close intelli pro". After it is closed, you can click on "actions" again and "Launch Keyboard Control Panel".

Ben

Posted 2010-10-03T22:01:34.230

Reputation: 264