Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

funble fingers need caps lock sound 1

Status
Not open for further replies.

bkelly13

Programmer
Aug 31, 2006
98
US
I am getting funble fingers in my old age and need a caps lock sound. I am writing a bunch of Windows C++ code and type many characters in caps lock. I type by touch and keep getting the caps lock key reverse of what I want. Is there a relatively simple way of making XP produce a sound for each key stroke when caps lock is enabled.

I tried the accessibility function and it does not make a sound. I suspect that this wireless Microsoft Keyboard handles the caps within the keyboard and does not send the caps lock key to the computer. Other sounds are made, but not caps lock. Is that a possibility?

As I am practicing writing code, a program to do this is certainly possible. But I need a bit of help in that endeavour. I am rather the novice at Windows. Maybe if there is a hook somewhere I can check so if the keystroke is >= A and <= Z, I can deliver a short low pitched beep.

Time is the medium we use to express our priorities
(Bryan Kelly, 2000)
 
I don't know how to have the caps lock make a sound, but I do know the caps lock state is in the computer, not in the keyboard. The keyboard does not send anything different to the computer depending on the caps lock state. The caps lock light is actually independant of the caps lock state. It is turned on and off via a software command from the computer to the keyboard. Just yesterday, the caps lock light and state on my computer got out of sync.

Some DOS software I have used can interrogate the state of caps lock, num lock, scroll lock, shift, control and alt. If DOS sofware can do it, Windows software should be able to also.
 
I had already tried the accesibility Option. The Use ToggleKeys box is checked. I get no sound when pressing the Caps Lock key. I get other sounds at other times, but not that one. My keyboard is wireless and has no indicator lights at all. No Caps Lock or Num Lock. None.

I want the compter to make a beep for every key that is pressed while the caps lock is engaged. If I type in five characters with caps lock on, the computer should make five beeps. If people can write spyware that will grab all my keystrokes, I should be able to write a program that will beep when the keystroke is >= A and <= Z.

Is there a link that will lead me to the solution?

Time is the medium we use to express our priorities
(Bryan Kelly, 2000)
 
Oddly enough I searched for

"Caps Lock On Screen" and this seems to do what you want.


Robert Wilensky:
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.
 
Thank you for taking the time to search and for the link.

Time is the medium we use to express our priorities
(Bryan Kelly, 2000)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top