ID:272473
 
Simple question; Is there a way to find out if a client's caps lock button is on?
Short answer? No. And why would you even want to do that, anyway?

Long answer: You may be able to catch it through extra code that runs in the browser, like JavaScript, or maybe not. Either way it'd be more trouble than it's worth. Why, again? =P
In response to Kaioken
Presumably they want to keep people from typing in all caps. There are two options for this, pretty much:
  • Force lowercase for words. This is a blind fire method that will make sure no one does it, but it also catches things that should be capitalized, like acronyms and names. I know Pokemon Citrine uses this method.
  • Searching through a string, and counting all the caps. After a string is a certain length (because you don't want to punish someone who replies with an acronym), refuse to output strings that are a certain percentage or more of capital letters.
In response to Popisfizzy
Kaioken:
Short answer? No. And why would you even want to do that, >anyway?

I was doing a bunch of stuff with macros and the like and was just curious about it. I know of a few programs that tell you when it is on and wondered if I could find out with BYOND.

Popisfizzy wrote:
Presumably they want to keep people from typing in all caps. There are two options for this, pretty much:
  • Force lowercase for words. This is a blind fire method that will make sure no one does it, but it also catches things that should be capitalized, like acronyms and names. I know Pokemon Citrine uses this method.
  • Searching through a string, and counting all the caps. After a string is a certain length (because you don't want to punish someone who replies with an acronym), refuse to output strings that are a certain percentage or more of capital letters.

    Nah, the way I did it my inputs, I don't even need to do most of that. I'd explain it, but it don't matter anyway. Thanks for the answer guys.
In response to Popisfizzy
Popisfizzy wrote:
  • Searching through a string, and counting all the caps. After a string is a certain length (because you don't want to punish someone who replies with an acronym), refuse to output strings that are a certain percentage or more of capital letters.

    Maybe instead of refusing, the computer could force the capped letters into canonical form (i.e. all caps dropped) so that the other users wouldn't see the "blinding caps-locked visually-shouting message of doom."

    (And yes, I made that name up.)
In response to Sctjkc01
Could you stop, you know, going through every freaking post and bringing up days' old topics?
In response to Popisfizzy
What? I'm bored!

And I'm sniffing around for something that might help me and my game that somebody else brought up.

Sorry if it makes you crazy.