# capt command

The capt command enables or disables
the capturing of every TCL command issued. When enabled, TCL commands
are placed in the captcl file using the item-ID *user-ID***port.number*.

The capt command is invoked by the capture-on and
 capture-off commands.

## Syntax

```
capt {(options}
```

## Parameter(s)

| options | o | Turns capturing off. |
| --- | --- | --- |
| n | Deletes item after disabling and is only valid with the o option. | |

## Example(s)

Turns on TCL command capturing.

```
capt
```
Turns off TCL command capturing.

```
capt (o
```
Turns off capturing and deletes item from the captcl file.

```
capt (on
```

## See also

- [capture-on command](https://d3codex.com/tcl/capture-on-command/)
- [capture-off command](https://d3codex.com/tcl/capture-off-command/)

---
Source: https://d3codex.com/tcl/capt-command/ - part of the D3Codex reference.
