Close command

Summary

Closes the current file.

Description

Closes the current window. If the document has been modified, the prompt message appears to select whether you want to save the changes or not.

How to Run

  • Default Menu: File > Close

  • All Commands: File > Close > Close

  • Toolbar:

  • Status Bar: None

  • Default Shortcut Key: CTRL+F4 or CTRL+W

Plug-in Command ID

EEID_APP_EXIT (4117)

Macros

[JavaScript]

document.close();

[VBScript]

document.close