Author Topic: Assigning Sounds To Certain Keys  (Read 2238 times)

0 Members and 1 Guest are viewing this topic.

Offline BigWopHH

  • Thread Starter
  • Posts: 95
    • http://www.hothardware.com
Assigning Sounds To Certain Keys
« on: Fri, 24 July 2009, 20:17:43 »
Hey All,

I'm sure someone here will have an easy answer to this one.

I'm trying to help someone find a program that will play a sound anytime the Caps Lock key is pressed.  She's older and has trouble typing and is constantly hitting Caps Lock by mistake, which really slows her down.  She needs some sort of audible feedback whenever the key is pressed.

Any help you could provide would be awesome.
  • Topre Realforce 103UB
  • Topre Realforce 87U
  • ABS M1
  • Solidtek ASK-6600U
  • Dell AT101W
  • Das III Pro
  • Scorpious M10
  • Cherry G80-3000LSCRC-2 (Blues)
  • Cherry G80-3000LXCEU-2 (Browns)
  • Unicomp Customizer 104
  • Steelseries 7G
  • Filco Majestouch FKBN104M/EB < Has Become My Daily Driver. Really Diggin\' It.
[/SIZE]

Offline wellington1869

  • Posts: 2885
Assigning Sounds To Certain Keys
« Reply #1 on: Fri, 24 July 2009, 21:23:43 »
autohotkey will do this in two seconds, and a lot more than just that too.

"Blah blah blah grade school blah blah blah IBM PS/2s blah blah blah I like Model Ms." -- Kishy

using: ms 7000/Das 3

Offline wellington1869

  • Posts: 2885
Assigning Sounds To Certain Keys
« Reply #2 on: Fri, 24 July 2009, 21:29:54 »
Here:

go here and download and install autohotkey.exe:
http://www.autohotkey.com/

Then, put the code below into a file named "capslock_beep.ahk".  Put that file into the windows startup folder.

Thats it, done. Everytime you hit capslock you'll get the windows exclamation sound. You can choose from different sounds as indicated in the code below.

Code: [Select]
;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing &quot;ShellNew\Template.ahk&quot; in your Windows folder)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

capslock::soundplay, *48

;other sounds:
;*-1: Simple beep. If the sound card is not available, the sound is generated using the speaker.
;*16: Hand (stop/error)
;*32: Question
;*48: Exclamation
;*64: Asterisk (info)


"Blah blah blah grade school blah blah blah IBM PS/2s blah blah blah I like Model Ms." -- Kishy

using: ms 7000/Das 3

Offline fuzzybyte

  • Posts: 54
Assigning Sounds To Certain Keys
« Reply #3 on: Sat, 25 July 2009, 04:47:15 »
Might be a silly idea, but could you set Autohotkey to emulate the clickyness of blue cherries with brown cherry keyboard?

That way you could silence your keyboard when your co-workers are around and turn back those awesome clicks when they're gone.

Offline Rajagra

  • Posts: 1930
Assigning Sounds To Certain Keys
« Reply #4 on: Sat, 25 July 2009, 05:04:44 »
Quote from: fuzzybyte;104265
Might be a silly idea, but could you set Autohotkey to emulate the clickyness of blue cherries with brown cherry keyboard?

That way you could silence your keyboard when your co-workers are around and turn back those awesome clicks when they're gone.

Noisykeyboard will if AHK won't.

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Assigning Sounds To Certain Keys
« Reply #5 on: Sat, 25 July 2009, 19:43:31 »
I can't help but think of some unneccessarily complicated hack involving those old linear Zenith boards...