Commands & Syntax > Commands > Keyboard >

CapsLock ON - < CapsLock_ON > ... [Pro]

www.perfectkeyboard.com

 

Keyboard CapsLock ON
<CapsLock_ON>
Available in: Professional edition

This command turns CapsLock key ON.
Note: "_vIsCapsLockON" system variable can be used to determine state of the CapsLock key.

 

 

Example (Macro Steps):

 

1

<#> <#>This macro toggles CapsLock

2

Macro execution: ONLY COMMANDS

3

IF %_vIsCapsLockON%==YES

4

Keyboard CapsLock OFF

5

ELSE activate

6

Keyboard CapsLock ON

7

ENDIF

Example (Plain Text):

 

<#>This macro toggles CapsLock

<cmds>

<if>("%_vIsCapsLockON%==YES")

   <CapsLock_OFF>

<else>

   <CapsLock_ON>

<endif>