MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: batch mode and front end

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33133] Re: batch mode and front end
  • From: Alexander Dreyer <dreyer at itwm.fhg.de>
  • Date: Tue, 5 Mar 2002 03:08:35 -0500 (EST)
  • Organization: Fraunhofer ITWM
  • References: <a5nq8g$r7u$1@smc.vnet.net> <a5vkf8$csm$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jens-Peer Kuska wrote:
> 
> Hi,
> 
> you can launch the frontend as MathLink child from the kernel.
> 
> lnk = LinkLaunch["C:\Program Files\Wolfram
> Research\Mathematica\4.0\Mathematica.exe -mathlink"]
> <<PSDirect.m
> 
>  Block[{$FrontEnd = FrontEndObject[lnk]},
>          HTMLSave["index.html","source.nb"]
>    ]
> 
> Regards
>   Jens
[...]

Hi,

when do it like this, I still get the following error message:

FrontEndObject::notavail: 
   A front end is not available; certain operations require a front end.

Using the LinkLaunch command, math starts the mathematica front end and
I can use FrontEndExecute for executing commands which are only using
the front end, but it seems, that I still don't have a connection
between the kernel and the front end. 

Yours,
Alexander

-- 
 / Alexander Dreyer, Dipl.-Math. - Abteilung Adaptive Systeme        \
/  Fraunhofer Institut fuer Techno- und Wirtschaftsmathematik (ITWM)  \
\  Gottlieb-Daimler-Strasse, Geb. 7^2=49/302  D-67663 Kaiserslautern  /
 \ http://www.itwm.fhg.de    Tel.:(0631)205-4472  Fax:(0631)205-4139 /


  • Prev by Date: Bug in Simplify?
  • Next by Date: RE: Quirk in MathLink for Excel
  • Previous by thread: Re: batch mode and front end
  • Next by thread: Re: need a function for sums of subsets