Microsoft Office Keyboard RT9450 with scroll wheel works with Autohotkey

Joined
Jul 29, 2015
Messages
3
Reaction score
0
This excellent and much-loved keyboard with a scroll wheel that can be used by the left hand and copy cut and paste keys has not been usable since Windows 8 was pressed on us.

There is no updated Windows 10 driver for this device but the existing drivers work as expected, except for the invaluable Scroll wheel.

But a recent post by pondermatic

https://gist.github.com/pondermatic/224790183061d1aeaff7

requring a library file

; requires AHKHID library from https://github.com/jleb/AHKHID

now makes it possible to use this device as originally intended.

See reports at https://autohotkey.com/boards/viewtopic.php?f=6&t=8005&p=65115#p65115

I placed the files

ahkhid.* files in C:\Program Files\AutoHotkey\lib
and keywheel.ahk in C:\Program Files\AutoHotkey
and created a link to keywheel.ahk that is on my desktop.

A double click on the desktop icon starts the keyboard scroll wheel working as it used to.

Enjoy!

Paul
 
Joined
May 31, 2016
Messages
1
Reaction score
0
Pardon my ignorance, where are the ahkhid files downloaded from. The github.com site does not have an obvious link to get them.

Thanks, Jim.
 
Joined
Nov 3, 2018
Messages
1
Reaction score
0
I need more idiot-proof instructions. Tried to follow this post and found that I did not have a sub folder "lib" in C:\Program Files\AutoHotkey and the instructions call for ahkhid.* files to be copied into that folder. I can only find one ahkhid.ahk file (not files, just one). Can someone provide specific step-by-step instructions and file locations?
 
Joined
Nov 30, 2019
Messages
2
Reaction score
0
Hi,

Thanks a lot for this amazing solution. I registered to include some basic instructions I followed just to complete the great Paul's instructions.

- First, you need to download and install the AutoHotKey program (very useful tool): https://www.autohotkey.com/
- Second, you need the to download 2 ahk files (library + script) (you will find a Download ZIP button in these pages):
- AHKHID library from https://github.com/jleb/AHKHID
- keywheel.ahk from https://gist.github.com/pondermatic/224790183061d1aeaff7
- Third, unzip downloaded files in your temp folder. And locate the required files: AHKHID.ahk and KeyWheel.ahk
- Fourth, copy the file "AHKHID.ahk" into the following AutoHotKey installation folder: C:\Program Files\AutoHotkey\lib
(please note that maybe you have to create manually the \lib subfolder)
- Fifth, copy the KeyWheel.ahk file to your desktop.
And done, just double click on "KeyWheel.ahk" and enjoy your working wheel.

(I had to close and rerun the AutoHotKey program the first time)

Hope this helps!

Thanks a lot to Pondematic and to Paul Bristow!
 
Joined
Mar 3, 2020
Messages
1
Reaction score
0
I have two of the awesome keyboards, but sadly, this did not work for me. I'm not familiar with AutoHotkey at all, but the directions seemed simple enough... Any help would be appreciated.

Downloaded and installed version 5.1 of AutoHotkey (it looks like some of the default paths may have changed from previous versions? I don't really know what I am looking at with this... Window 10 Home. System Screenshot attached.

Script Filename: This can be omitted if there are no Script Parameters. If omitted (such as if you run AutoHotkey directly from the Start menu), the program looks for a script file called AutoHotkey.ahk in the following locations, in this order:

  • The directory which contains the AutoHotkey executable.
  • The current user's Documents folder.
The filename AutoHotkey.ahk depends on the name of the executable used to run the script. For example, if you rename AutoHotkey.exe to MyScript.exe, it will attempt to find MyScript.ahk. If you run AutoHotkeyU32.exe without parameters, it will look for AutoHotkeyU32.ahk.

Note: In old versions prior to revision 51, the program looked for AutoHotkey.ini in the working directory or AutoHotkey.ahk in My Documents.
)


  1. downloaded both files (attached)
  2. created folder: C:\Program Files\AutoHotkey\lib
  3. copied AHKHID.ahk to C:\Program Files\AutoHotkey\lib
  4. copied KeyWheel.ahk to C:\Program Files\AutoHotkey
  5. restarted
  6. RightClick on "KeyWheel.ahk" as "Run as Administrator" (tried other ways of running as well, but no results)
... nothing seems to be happening, can't find AutoHotkey or KeyWheel in my running processes (if they're supposed to show up there)
 

Attachments

  • downloaded files.zip
    13.9 KB · Views: 315
  • Screenshot (1).png
    Screenshot (1).png
    164 KB · Views: 421
Last edited by a moderator:
Joined
Nov 30, 2019
Messages
2
Reaction score
0
Hi Mej7000! (maybe you should consider to delete the screensot of your system, it contains personal info, like your name "Mike).

I think you did everything correctly. Maybe you should consider to copy the file "KeyWheel.ahk" to your Desktop, because (in my case) I have to double click on it every time I start my system. (I still haven't soved that issue).

In my case, nothing visually happens when I click the KeyWheel file, but the keyboard wheel begins to work, also the AutoHotkey icon appears near the system clock (white H/green).

(Sorry for my English, this is obviously not my first language)
 
Joined
Jul 29, 2015
Messages
3
Reaction score
0
I have two of the awesome keyboards, but sadly, this did not work for me. I'm not familiar with AutoHotkey at all, but the directions seemed simple enough... Any help would be appreciated.

Downloaded and installed version 5.1 of AutoHotkey (it looks like some of the default paths may have changed from previous versions? I don't really know what I am looking at with this... Window 10 Home. System Screenshot attached.

Script Filename: This can be omitted if there are no Script Parameters. If omitted (such as if you run AutoHotkey directly from the Start menu), the program looks for a script file called AutoHotkey.ahk in the following locations, in this order:

  • The directory which contains the AutoHotkey executable.
  • The current user's Documents folder.
The filename AutoHotkey.ahk depends on the name of the executable used to run the script. For example, if you rename AutoHotkey.exe to MyScript.exe, it will attempt to find MyScript.ahk. If you run AutoHotkeyU32.exe without parameters, it will look for AutoHotkeyU32.ahk.

Note: In old versions prior to revision 51, the program looked for AutoHotkey.ini in the working directory or AutoHotkey.ahk in My Documents.
)


  1. downloaded both files (attached)
  2. created folder: C:\Program Files\AutoHotkey\lib
  3. copied AHKHID.ahk to C:\Program Files\AutoHotkey\lib
  4. copied KeyWheel.ahk to C:\Program Files\AutoHotkey
  5. restarted
  6. RightClick on "KeyWheel.ahk" as "Run as Administrator" (tried other ways of running as well, but no results)
... nothing seems to be happening, can't find AutoHotkey or KeyWheel in my running processes (if they're supposed to show up there)

I have allowed the Autohotkey icon to appear on the taskbar right hand zone. (This is because it find that the autohotkey functions sometimes get switched off for reasons unclear, so the keys stop working and you can restart it from here with a right click option). You can also chose right-click, Open and see the log file for what has happened recently. This might give some clues as to what is wrong. My guess is the the files are in the 'wrong' place. There is a recent (Sep 2019) post on the autohotkey forum https://www.autohotkey.com/boards/viewtopic.php?f=6&t=8005&p=65115#p294145 that may also help.

My file
g:\autohotkey\keywheel.ahk Autohotkey v1.1.30.01
starts with

"script lines most recently executed (oldest first). Press [F5] to refresh. The seconds elapsed between a line and the one after it is in parentheses to the right (if not 0). The bottommost line's elapsed time is the number of seconds since it executed.

---- C:\Program Files\AutoHotkey\Lib\AHKHID.ahk
538: if (r = -1) || ErrorLevel
544: VarSetCapacity(uRawInput, iSize)
547: r := DllCall("GetRawInputData", "UInt", InputHandle, "UInt", 0x10000003, "Ptr", &uRawInput, "UInt*", iSize, "UInt", 8 + A_PtrSize * 2)
548: if (r = -1) || ErrorLevel
551: if (r <> iSize)
557: iSize := NumGet(uRawInput, 8 + A_PtrSize * 2 + 0, "UInt")
558: iCount := NumGet(uRawInput, 8 + A_PtrSize * 2 + 4, "UInt")
561: VarSetCapacity(uData, iSize * iCount)
564: DllCall("RtlMoveMemory", UInt, &uData, UInt, &uRawInput + 8 + A_PtrSize * 2 + 8, UInt, iSize * iCount)
566: Return,(iSize * iCount)
---- G:\AutoHotKey\KeyWheel.ahk
115: if (bSize != 8)
119: b1 := NumGet(bData, 1, "UChar")
... "

HTH
 
Joined
Apr 18, 2021
Messages
1
Reaction score
0
Hi everyone, I recently rediscovered my old Microsoft office keyboard and thanks to your help I was able to use it again. Would it be possible to combine the function with the stand-by button, giving it the possibility to turn on the PC (on button)? thank you all
 
Last edited:
Joined
Aug 25, 2021
Messages
1
Reaction score
0
So, I followed all the instructions... but not only does the scroll wheel not work, but half my keyboard is dead. Like it had a stroke. The main enter key, backspace, forward and back slash home and delete keys are completely dead. Can anyone suggest anything besides throwing away the best keyboard ever made?
 
Joined
Jul 29, 2015
Messages
3
Reaction score
0
FWIW, mine are still working fine with latest Windows 10

Edition Windows 10 Pro
Version 21H1
Installed on ‎18‎Sep‎2020
OS build 19043.1165
Experience Windows Feature Experience Pack 120.2212.3530.0

I suspect that you need to (re-)install the keyboard driver for intellitype Pro 5

I have this file
\Microsoft\Office Keyboard\ITPx64_1033_8.20.469.0.exe

which is for IntelliType Pro - MS deny all knowledge of the super

Microsoft Office Keyboard RT9450 keyboard​

but this software seems to work.

HTH
 
Joined
Apr 25, 2022
Messages
1
Reaction score
0
Hi,

Thanks a lot for this amazing solution. I registered to include some basic instructions I followed just to complete the great Paul's instructions.

- First, you need to download and install the AutoHotKey program (very useful tool): https://www.autohotkey.com/
- Second, you need the to download 2 ahk files (library + script) (you will find a Download ZIP button in these pages):
- AHKHID library from https://github.com/jleb/AHKHID
- keywheel.ahk from https://gist.github.com/pondermatic/224790183061d1aeaff7
- Third, unzip downloaded files in your temp folder. And locate the required files: AHKHID.ahk and KeyWheel.ahk
- Fourth, copy the file "AHKHID.ahk" into the following AutoHotKey installation folder: C:\Program Files\AutoHotkey\lib
(please note that maybe you have to create manually the \lib subfolder)
- Fifth, copy the KeyWheel.ahk file to your desktop.
And done, just double click on "KeyWheel.ahk" and enjoy your working wheel.

(I had to close and rerun the AutoHotKey program the first time)

Hope this helps!

Thanks a lot to Pondematic and to Paul Bristow!
Thank you so much!!!!!!!!!!

it works... after many years I manage to make it work... without a doubt it is the best keyboard in history
 
Joined
Nov 8, 2022
Messages
1
Reaction score
0
This excellent and much-loved keyboard with a scroll wheel that can be used by the left hand and copy cut and paste keys has not been usable since Windows 8 was pressed on us.

There is no updated Windows 10 driver for this device but the existing drivers work as expected, except for the invaluable Scroll wheel.

But a recent post by pondermatic

https://gist.github.com/pondermatic/224790183061d1aeaff7

requring a library file

; requires AHKHID library from https://github.com/jleb/AHKHID

now makes it possible to use this device as originally intended.

See reports at https://autohotkey.com/boards/viewtopic.php?f=6&t=8005&p=65115#p65115

I placed the files

ahkhid.* files in C:\Program Files\AutoHotkey\lib
and keywheel.ahk in C:\Program Files\AutoHotkey
and created a link to keywheel.ahk that is on my desktop.

A double click on the desktop icon starts the keyboard scroll wheel working as it used to.

Enjoy!

Paul
I gave up looking years ago. Just found this. Works great. THANK YOU!!!
 
Joined
Jan 22, 2023
Messages
1
Reaction score
0
Why is this such a pain in the ass? Is there any way on earth I can make this work without going to college to learn how to do this? Can anyone help me with this?
 
Joined
Aug 8, 2023
Messages
1
Reaction score
0
I followed every step carefully. And I even tried different versions of AutoHotkey.
But I just received an error message. I know it's an old topic but I really want to use the scroll function of my keyboard. Could somebody help, please?

error message.png
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top