Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: front end commands

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85210] Re: front end commands
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Sat, 2 Feb 2008 03:26:12 -0500 (EST)
  • References: <fnplll$b0a$1@smc.vnet.net> <fnrnb8$ocn$1@smc.vnet.net>

On Feb 1, 8:17 am, patrol_b... at hotmail.com wrote:
> On Jan 30, 5:46=A0pm, dh <d... at metrohm.ch> wrote:
>
> > Hi Noname,
>
> > you find this info in:
>
> > Math6\SystemFiles\FrontEnd\TextResources\Windows\MenuSetup.tr
>
> > The reson that "Size" does not do anything is that it is no command. It
>
> > is just another sub-menu.
>
> > hope this helps, Daniel
>
> Thanks for the replies guys.  The file you're talking about is a .tr
> file.  I don't know what file type this is, and I couldn't open it
> from Windows Explorer (it didn't recognize the program that created
> it).  I was able to open it from within Mathematica, but it looks like
> some kind of text file and I don't really know how to interpret it.
> Here's a snippet below.  Please help.
> Thanks
>
> Menu["Mathematica",
> {
>         Menu["&File",
>         {
>                 Menu["&New",
>                 {
>                         Item["&Notebook (.nb)", "New", MenuKey["n", Modifiers->{Control}]],
>                         Item["&Slide Show",
> FrontEndExecute[NotebookPut[FEPrivate`FrontEndResource["FEExpressions",
> "SlideshowTemplate"]]]],
>                         Item["&Demonstration",
> KernelExecute[FrontEnd`Private`PutDemonstrationsTemplate[]],
> MenuEvaluator -> Automatic],
>                         Delimiter,
>                         Item["&Package (.m)", "NewPackage"],
>                         Item["&Text Document (.txt)", "NewText"]

It is a text file.  Windows Notepad can open it (just make sure that
you don't modify it!).  Just compare the contents of the file with the
Mathematica menu items, and you'll understand ...  the second item in
Item[] is usually a front end token ...


  • Prev by Date: Re: changing color of non-evaluatable cell
  • Next by Date: Re: Drawing on top of the image
  • Previous by thread: Re: front end commands
  • Next by thread: Fourier Series Expansions and it's Coefficients question revised tia