• Get CapsLock state (A2K SP3)

    Author
    Topic
    #382711

    I want to ensure that all input are in capital letters and switch the CapsLock on if it isn’t. I can use SendKeys to turn the Capslock key on. However how do I know if the Capslock is already on before I use Sendkeys?

    Viewing 1 reply thread
    Author
    Replies
    • #649789

      You can force the input into capitals, which is both more polite and simpler than trying to change the keyboard state. If you use an input mask on the field, you can easily force that field to upper case by using a > as the input mask and you don’t have to worry about whether the Caps Lock is on.

    • #650050

      Charlotte is right, you can just force the text to uppercase. However, if you still want to check/force the Numlock key, let me know, you can do this safely with API Calls.

    Viewing 1 reply thread
    Reply To: Get CapsLock state (A2K SP3)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: