Is it possible using javascript, php, whatever, (anything but activex/applet/flash you get the idea) to see if caps lock is on?
Printable View
Is it possible using javascript, php, whatever, (anything but activex/applet/flash you get the idea) to see if caps lock is on?
don't think so :(
yeah, i didn't think so, anyone know for sure though?
why do you need to know if the caps lock key is on or not ??
i would of thought that either javascript or vbscript should be able to do it, thought i could be very wrong :rolleyes:
are you talking about when people enter text in a box or input? don't need to check for caps lock, just check for uppercase and let them know or change it yourself, when you add it to you database or where ever.
I think he wants to set it on the computer...
actually, i also want to know about insert, num lock, etc. too. i just thought caps lock would be a good place to start.
The GetKeyboardState Win32 API call should be accessible via ActiveX control, but that's Windows only.
http://msdn.microsoft.com/library/de...binpt_0nhh.asp
thanks, but, it's gotta be cross browser. i guess it's not possible then :rolleyes:
No, because some browsers don't really have keyboards. I don't think the standards assume too much in the way of hardware.
Alrighty then, thanks a lot for the help.
LOL..that'd be funny. Computer with no keyboard. :DQuote:
Originally posted by JoshT
No, because some browsers don't really have keyboards. I don't think the standards assume too much in the way of hardware.
touchscreen monitors, they have them
Touch screens, aural browsers, and handhelds. I'm sure there are other examples.
Telepathic......:D
....vocal :D
I was thinking of console game systems, web tv things, and cell phones
oh yeah, i forgot XBox can access the net. I think ps2 and game cube might be able to also?
PS2 has onboard Ethernet, and I think DHCP. :)
DreamCast had a Ethernet adapter and will run Linux or BSD. Slap in a web browser, and you have an 'Net Applicance (tm). 'Course, the DreamCast had a keyboard controller to, I think. *shrug*
cool, too bad they stopped making it. :(
making dreamcast?
why?
Yeah, they stopped. i guess it wasn't selling enough. now sega is just going to be making games for xbox/ps2/game cube
The DreamCast comes with a modem / web browser CD (in the US, anyway). I've used mine to dial-up and surf the web. TV just doesn't have the screen resolution for it. You can easily get a DC for about US$50 nowadays.
Travis, did you get Linux to run on a DC yourself? I tried doing it over vacation last week, but I think I might need the keyboard or something. I tried compiling a kernel myself, and downloading a DC distro, both would boot and start running, but neither got far enough for me to interact with. It'd be kinda a cool to get Apache going on one and putting it on the internet.
Are you saying you can get an Apache web server, or even linux for that matter, to run on a DreamCast? If so, where is the information on it?
No, I don't own a DreamCast, I've just read the articles. I'm geeky enough to think "very cool", but realistic enough to take a step back and say...
Uhm... but why?
Now the things that do interest me...
I was reading a article (was clued in by a report at Slashdot), about a guy who built a machine compact enough to fit in a stereo bay in his Blazer. He runs Win9x and uses it an MP3 player. He has a little LCD screen on it.
I would like to have the time, money, and ability, to play with that idea and wireless (802.11) technology. I would like to be able to give my car files (maps, MP3s, grocery list, sync maintenance records) from my PC inside, and vice versa.
In theory, you could have two cars talking back and forth while motoring down the Interstate.
Now I know that there is cell and GPS technology, and that The Big Companies will eventually do things like this, but they will never do it the way it should be done.
Because you can. Plus Linux will run emulators for arcade games and other systems.Quote:
Uhm... but why?
With the way some people drive, imagine what they would say.:eek:Quote:
In theory, you could have two cars talking back and forth while motoring down the Interstate.
Now that brings up an interesting idea.Quote:
Originally posted by JoshT
Because you can. Plus Linux will run emulators for arcade games and other systems.
An open gaming platform architechture, much like the open PC platform. 'Course, it would need to have swappable hardware, because no one is going to make a video card the same way. And then you could easily add a HDD. Look, the XBox already has one.
And then... wait... I already have a PC. Never mind, it was a good idea for a second. :)
PS Rereading this post I realize I sound like a smart ass. That was not my intention. I really thought the open console idea was a good one until I realized I was re-inventing the PC.
Actually, there was a company trying to bring out a open linux based console system about a year ago. They're out of business now...
:p
hahahhaha
why would you want a gaming console on your computer?
AFAIK, there's a Red Hat port already available (maybe only in Japan though).
I'm waiting for Linux on X-box (if you think about the HW it should be an easier port, too).
If I remember correctly, MS engineers were actually suggesting the use of Linux as the embedded OS on XBox. I thought I saw an article about Linux/Apache on the XBox at Slashdot. I don't think the article said "we've done it" so much as, "we were considering it." I imagine now that they've gone retail there should be distros ready.
you really think MS would allow linux on one of their products?
i don't think they would be too annoyed...
Slashdot has a mention about the Linux PS2 (not PS/2) shipping today, or some such.
wow, this thread went just a little off topic :eek:
Not if you're trying to run Apache on one.
I get a General Segmentation Error or something on my Dreamcast when I try to run it...:(
why would you want to run a webserver of a gaming console?
because you can
hahaaha
i guess so :rolleyes: