Using Caps Lock in Your Tasks

When you create a new automation task, Automation Anywhere records the state of the Caps Lock key during the recording. When running the task, Automation Anywhere changes the state of Caps Lock key to match the state that existed prior to recording the task.

As a best practice, make sure that the Caps Lock key is turned OFF prior to creating your automation tasks.

Recording with Caps Lock ON

If the Caps Lock key is turned ON when you start recording, Automation Anywhere records the task with Caps Lock ON.

When you run this task:

  • Automation Anywhere checks the state of the Caps Lock key.
  • If the Caps Lock key is OFF at the time it is run, Automation Anywhere turns Caps Lock to ON before running any of the steps.
  • If you use Insert Keystrokes commands within the task, upon running the task Automation Anywhere toggles the state of Caps Lock to OFF, resulting in lowercase characters.

Recording with Caps Lock OFF

If the Caps Lock key is turned OFF when you start recording, and you use Insert Keystrokes commands within the task to type uppercase characters, Automation Anywhere turns Caps Lock ON.

Note: Be aware that when you use Insert Keystrokes commands, no indicator exists for changes to the Caps Lock key status. Changes are carried out internally.