Command Reference — Convert category — Tabify command

# Tabify command

## Summary

Converts equivalent spaces to tabs.

## Description

Converts selected spaces at the start of each line to tabs. The converted number of spaces must be equal to the number of spaces set for a tab, which can be set in the Tab/Indent dialog box.

## How to Run

- Default Menu: Convert > Tabify

- All Commands: Convert > Tabify

- Toolbar: None

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_TABIFY (4356)

## Macros

### [JavaScript]

    document.selection.Tabify();

### [VBScript]

    document.selection.Tabify