# Shortcut

Canonical page: https://www.adaptabletools.com/docs/reference/shortcut

A key that updates a numeric cell with an arithmetic operation.

`Scope` is numeric columns only. Pressing `ShortcutKey` sets the cell to `cellValue` combined with `ShortcutValue` by `ShortcutOperation`. Suspend with `IsSuspended`.

```ts title="TypeScript"
export interface Shortcut extends SuspendableObject 
```

###### Extends

[`SuspendableObject`](https://www.adaptabletools.com/docs/reference/suspendableobject.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [Name](https://www.adaptabletools.com/docs/reference/shortcut.md#name) | `string` | Name of the Shortcut |
| [Scope](https://www.adaptabletools.com/docs/reference/shortcut.md#scope) | [`ColumnScope`](https://www.adaptabletools.com/docs/reference/columnscope.md)`<`[`NumberScopeDataType`](https://www.adaptabletools.com/docs/reference/numberscopedatatype.md)`>` | Numeric Columns where Shortcut is applied |
| [ShortcutKey](https://www.adaptabletools.com/docs/reference/shortcut.md#shortcutkey) | `string` | Key which triggers the Shortcut when pressed |
| [ShortcutOperation](https://www.adaptabletools.com/docs/reference/shortcut.md#shortcutoperation) | `'Add' \| 'Subtract' \| 'Multiply' \| 'Divide'` | The Operation: &#39;Add&#39;, &#39;Subtract&#39;, &#39;Multiply&#39;, &#39;Divide&#39; |
| [ShortcutValue](https://www.adaptabletools.com/docs/reference/shortcut.md#shortcutvalue) | `number` | Value acting as 2nd operand for ShortcutOperation (1st operand is the cell value) |
| [IsReadOnly](https://www.adaptabletools.com/docs/reference/shortcut.md#isreadonly) | `boolean` | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;) |
| [IsSuspended](https://www.adaptabletools.com/docs/reference/shortcut.md#issuspended) | `boolean` | Suspends (i.e. turns off) an Adaptable Object |

## Property Details

### Name

Name of the Shortcut

```ts title="TypeScript"
Name: string;
```

###### Property Value

`string`

### Scope

Numeric Columns where Shortcut is applied

```ts title="TypeScript"
Scope: ColumnScope<NumberScopeDataType>;
```

###### Property Value

[`ColumnScope`](https://www.adaptabletools.com/docs/reference/columnscope.md)`<`[`NumberScopeDataType`](https://www.adaptabletools.com/docs/reference/numberscopedatatype.md)`>`

### ShortcutKey

Key which triggers the Shortcut when pressed

```ts title="TypeScript"
ShortcutKey: string;
```

###### Property Value

`string`

### ShortcutOperation

The Operation: &#39;Add&#39;, &#39;Subtract&#39;, &#39;Multiply&#39;, &#39;Divide&#39;

```ts title="TypeScript"
ShortcutOperation: 'Add' | 'Subtract' | 'Multiply' | 'Divide';
```

###### Property Value

`'Add' | 'Subtract' | 'Multiply' | 'Divide'`

### ShortcutValue

Value acting as 2nd operand for ShortcutOperation (1st operand is the cell value)

```ts title="TypeScript"
ShortcutValue: number;
```

###### Property Value

`number`

### IsSuspended

> *Inherited from [SuspendableObject](https://www.adaptabletools.com/docs/reference/suspendableobject.md)*

Suspends (i.e. turns off) an Adaptable Object

```ts title="TypeScript"
IsSuspended?: boolean;
```

###### Property Value

`boolean`

### IsReadOnly

> *Inherited from [AdaptableObject](https://www.adaptabletools.com/docs/reference/adaptableobject.md)*

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;)

```ts title="TypeScript"
IsReadOnly?: boolean;
```

###### Property Value

`boolean`
