Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Document Object > Properties

EmEditor Macro Reference: Saved Property

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Document Object

Saved Property

Retrieves or sets the flag indicating whether the document is changed since the last time it was saved or opened.


bSaved = document.Saved;

document.Saved = bSaved;


bSaved = document.Saved

document.Saved = bSaved



if( document.Saved )  alert( "The document is not changed." );

else  alert( "The document is changed." );


If document.Saved Then

   alert( "The document is not changed." )


   alert( "The document is changed." )

End If


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2018 by Emurasoft, Inc.