Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3213

Re: suppressing error messages

From John Fultz <jfultz@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: suppressing error messages
Date 2011-06-21 11:17 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <itpujn$lvv$1@smc.vnet.net> (permalink)

Show all headers | View raw


On Mon, 20 Jun 2011 19:36:49 -0400 (EDT), Shane Di Dona wrote:
> I want to close a notebook by using
>
> FrontEndExecute[FrontEndToken["FrontEndQuit"]]
>
> but I get a "close running notebook" dialog.  How can I disable this box?
> It is easy to click "ok", but that defeats the automation aspect of it.

If you just want to close a notebook, then you can use NotebookClose[].  If you 
want to quit the front end, then you can do:

FrontEndTokenExecute["FrontEndQuitNonInteractive"]

Sincerely,

John Fultz
jfultz@wolfram.com
User Interface Group
Wolfram Research, Inc.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: suppressing error messages John Fultz <jfultz@wolfram.com> - 2011-06-21 11:17 +0000

csiph-web