Re: Testing whether code is run in batch mode
- To: mathgroup at smc.vnet.net
- Subject: [mg61860] Re: Testing whether code is run in batch mode
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Wed, 2 Nov 2005 04:09:28 -0500 (EST)
- Organization: Uni Leipzig
- References: <dk1jlm$9mb$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, try $FrontEnd===Null or !TrueQ[$Notebooks] Regards Jens "Marcus Stollsteimer" <marcus314 at yahoo.com> schrieb im Newsbeitrag news:dk1jlm$9mb$1 at smc.vnet.net... | Hi group, | | is there a builtin function or variable that tests if a calculation is | done in the Front End or in batch mode? | | right now I use as a workaround | | BatchQ = Notebooks[] === $Failed; | | Regards, | Marcus | | | -- | [...] which will be published posthumously or after his death, | which ever comes first. -- W. Allen |