window.isModified

Syntax window.isModified (title)

Params title is the name of the window you want to determine as being modified.

Action Determines if the window or the object it contains has been modified.

Returns True if the window or object has been modified, false otherwise.

Examples window.isModified (@notepad)
true

window.isModified (window.frontmost ())
true

Notes If title is a valid database address of an object that isn't currently displayed in a window, this verb will return the status of the object.

To determine whether or not a guest database has been modified, pass the path on disk as the title parameter.

See Also window.setModified

fileMenu.save

Discuss