Results 1 to 2 of 2
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    CAPS LOCK and Num Lock (97 and >)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    Can I turn off and on Num Lock and Caps Lock?

    I found out that you can ask MS-Word to tell you if CAPS LOCK is on by using something like:

    bIsCapsLockOn = ActiveDocument.Content.Information(wdCapsLock)

    If bIsCapsLockOn = True, then its on, and I should try and set it to False = Off.

    And I am wondering if the light on the keyboard gets turned off... <img src=/S/drop.gif border=0 alt=drop width=23 height=23>

    Thanks

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: CAPS LOCK and Num Lock (97 and >)

    The .Information property is read-only. Application.CapsLock also is read-only. But there's probably a way somewhere (such as the Windows API).... maybe this one: Microsoft Knowledge Base Article 177674 - HOWTO: Toggle the NUM LOCK, CAPS LOCK, and SCROLL LOCK Keys.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •