473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

turning on/off caps/num/scroll locks

Is it possible to turn on/off the scroll, caps, and num locks on a user's
computer using javascript? It's somewhat hard to explain what I need this
for, but if there is a way for this to be done, please let me know...

Thanks
- JP
Jul 23 '05 #1
2 1849
kingofkolt wrote:
Is it possible to turn on/off the scroll, caps, and num locks on a
user's computer using javascript? It's somewhat hard to explain what
I need this for, but if there is a way for this to be done, please
let me know...


No, that cannot be done.

Richard.
Jul 23 '05 #2
JRS: In article <NdtCc.83486$Hg2.83466@attbi_s04>, seen in
news:comp.lang.javascript, kingofkolt <je**********@comcast.net> posted
at Thu, 24 Jun 2004 05:00:29 :
Is it possible to turn on/off the scroll, caps, and num locks on a user's
computer using javascript? It's somewhat hard to explain what I need this
for, but if there is a way for this to be done, please let me know...


The default assumption here in c.l.j is that javascript will be executed
in an Internet Web page.

The executing system is therefore not necessarily a PC. In particular,
it may not have the corresponding controls, and may behave as if each of
them were either on or off.

Web javascript rightly has AFAIK no influence over those controls; but
javascript under WSH *might* reasonably be able to do it.

But you could use something like

confirm("If you have any such controls, please set them to the off
condition and select OK. If you cannot or will not comply, select
Cancel.")

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> JL / RC : FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Robert | last post by:
Hi! I was wondering if the was any way to determine the state of the caps lock key, on or off. Of course I can capture the key events and see whether the caps lock is pressed, but that does not...
3
by: Amy Woodward | last post by:
Does DB2 have a setting to turn off lock escalation? I've just done several hours of newsgroup googling, and have found only a couple references to such a setting, for DB2 v4.1 back in the late...
4
by: Peter D | last post by:
I have a second hand bar code reader (keyboard wedge) en i can read the bar codes but after every scan he turns my caps lock on. (GRRRRRR). I search a code to turn my caps lock off or can anyone...
1
by: charlies224 | last post by:
Hi, I am writting a software that requires me to make sure the Num Lock is always on and Caps Lock is always off. First, I know how to detect if Num Lock or Caps Lock is on or off (if...
5
by: Muhammad Ahsin Saleem | last post by:
Hi I want to Turn Caps Lock off when I start my Application If Caps Lock option is on. Can anybody help me. Kindly do tell me about it.
14
by: effendi | last post by:
Is it possible for me to disable the wheel scroll in a mouse when user click on a drop-down list? Thanks
9
by: trondhuso | last post by:
Hi, I have a solution that - at time of writing - has to use tables to render a list of database-results. My challenge though is that we have used iframes and such to render the different lists...
5
by: wassimdaccache | last post by:
Hello Does anyone know how can I get the status of Caps Lock; Num Loc;k Srcoll lock? using access 2007. Regards,
5
by: dantebothermy | last post by:
I've got a patient enrollment application (functionally similar to a customer/order entry application). My problem comes when users accidentally hit the scroll wheel -- it can take them to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.