# Save Newline Characters as CR Only command
## Summary

Saves newline characters as CR only.

## Description

This command saves the document after converting all newline characters into CR only
(Macintosh). If the document is untitled, the **Save As** dialog box appears,
which allows you to enter a file name to save the file as.

## How to Run

- Default Menu: None
- [All Commands](/en/cmd/tools/all_commands): **File** \> **Save** \> **Save with Different Newline Characters** \> **Save as CR only**
- Toolbar: None
- Status Bar: None
- Default Shortcut Key: None

## Plug-in Command ID

```
EEID_SAVE_AS_CR (4106)
```

## Macros

### \[JavaScript\]

```javascript
editor.ExecuteCommandByID(4106);
```

### \[VBScript\]

```vbscript
editor.ExecuteCommandByID 4106
```
