3.3.2.18 Exit

Syntax:

exit

Exit from Origin. Prompts you to save changes before closing. You can disable the save prompt with the doc -s command


Examples:

This script shuts down Origin without prompting to save the project:

doc -s;
exit;

If you need to shutdown Origin from another application using DDE, use this:

doc -s;
def timerproc {
	exit;
}
timer 5;