How to convert a keystroke into a variable?

Automation Anywhere provides a convenient way to quickly convert an existing keystroke action into a variable. Simply select the keystroke action and Right-click and select Convert to Variable.