Command Reference — Edit category — Read Only command

# Read Only command

## Summary

Toggles Read Only status for the current file.

## Description

Enables or disables the ability to save changes to the file.

## How to Run

- Default Menu: Edit > Read Only

- All Commands: Edit > Advanced > Read Only

- Toolbar: None

- Status Bar: Double-click on READ

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_READ_ONLY (4113)

## Macros

### [JavaScript]

    document.ReadOnly=true;
    or
    document.ReadOnly=false;

### [VBScript]

    document.ReadOnly=true
    or
    document.ReadOnly=false