|
[Date Index]
[Thread Index]
[Author Index]
Re: Lauching application from an icon
- To: mathgroup at smc.vnet.net
- Subject: [mg110556] Re: Lauching application from an icon
- From: Chris Degnen <degnen at cwgsy.net>
- Date: Fri, 25 Jun 2010 07:27:55 -0400 (EDT)
- References: <hut8d2$j9p$1@smc.vnet.net>
I have still found no way to launch a Mathematica application in
the front-end, directly from an icon (or via cmd).
On a previous thread:
http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/022d34bca79f6375?pli=1
the following were suggested, but they don't work. Any ideas?
(cmd line) start foo.nb
containing:
UsingFrontEnd[
nb = NotebookOpen["MYFILETOEXECUTE.nb"];
SelectionMove[nb, All, Notebook];
FrontEndTokenExecute[nb, "EvaluateCells"];
]
or
MathKernel -noprompt -run "(*some command*);Quit[]"
On Jun 11, 12:58 pm, Chris Degnen <deg... at cwgsy.net> wrote:
> Is there some way to start a Mathematica application from an icon?
> I tried using a batch file to no avail, e.g.
>
> @echo off
> "C:\Program Files\Wolfram Research\Mathematica\7.0\Mathematica.exe" -
> run KernelExecute[Get["MyPrograms`StartDialog`"]]
>
> There are only two command-line options shown here:-
>
> http://reference.wolfram.com/mathematica/ref/program/Mathematica.html
Prev by Date:
Re: Newby Q: How to specify reals
Next by Date:
Re: Newby Q: How to specify reals
Previous by thread:
Lauching application from an icon
Next by thread:
Re: Lauching application from an icon
|