# KeyboardShortcut

Source: https://help.malighting.com/grandMA3/2.4/HTML/keyword_keyboardshortcut.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the KeyboardShortcuts keyword in the command line, use one of the options:

- Type **KeyboardShortcut**
- Type the shortcut **Keyboards**

## Description

The KeyboardShortcut keyword is an object keyword that is used to work with keyboard shortcuts using the command line. 

## Syntax

**\[Function] KeyboardShortcut \[KeyboardShortcut\_Number] (****Property \["Property\_Name"] \["Value"])**

## Examples

- To list all keyboard shortcuts, type:

|                                                                    |                                            |
| ------------------------------------------------------------------ | ------------------------------------------ |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]> List KeyboardShortcut |

 

- To assign, for example, the property "Shortcut" to the value "Space", type:

|                                                                    |                                                                          |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>Set KeyboardShortcut 161 Property "Shortcut" "Space" |

 

-  To delete the keyboard shortcut number 160, type:

|                                                                    |                                                 |
| ------------------------------------------------------------------ | ----------------------------------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>Delete KeyboardShortcut 160 |