turning on/off caps/num/scroll locks

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kingofkolt

    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


  • Richard Cornford

    #2
    Re: turning on/off caps/num/scroll locks

    kingofkolt wrote:[color=blue]
    > 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...[/color]

    No, that cannot be done.

    Richard.


    Comment

    • Dr John Stockton

      #3
      Re: turning on/off caps/num/scroll locks

      JRS: In article <NdtCc.83486$Hg 2.83466@attbi_s 04>, seen in
      news:comp.lang. javascript, kingofkolt <jessepNOSPAM@c omcast.net> posted
      at Thu, 24 Jun 2004 05:00:29 :
      [color=blue]
      >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...[/color]

      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.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
      <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

      Comment

      Working...