EmEditor Home - EmEditor Help - Command Reference - Edit category

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

Plug-in Command ID

Macros

[JavaScript]

document.ReadOnly=true;

or

document.ReadOnly=false;

[VBScript]

document.ReadOnly=true

or

document.ReadOnly=false

Copyright 2003-2014 by Emurasoft, Inc.