KB-29405: Enabling/Disabling Caps Lock at runtime.

Question:

Can the Caps Lock key be enabled/disabled via E3?

Solution:

Yes, this cane be done via VBScript‘s SendKeys method.

The script below toggles the Caps Lock key:

set WshShell = CreateObject(“WScript.Shell”)
WshShell.SendKeys “{CAPSLOCK}”

NOTE: Attached to this article is a sample application developed with E3 version 3.1 Build 270.

Attachments:

KB29405en.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *