Re: how save newly created palette?
- To: mathgroup at smc.vnet.net
- Subject: [mg76253] Re: how save newly created palette?
- From: David Reiss <dbreiss at gmail.com>
- Date: Fri, 18 May 2007 06:22:16 -0400 (EDT)
- References: <email@example.com>
Here is a simple palette. The only important thing about this is that on creating this we assign the NotebookObject to a parameter-- really this could be any notebook, not just a palette. (M 6) In:= nb = CreatePalette[Button["Close", NotebookClose[ButtonNotebook]]] (M 6) Out= (NotebookObject[FrontEndObject[LinkObject["ParentLink", 1, 1]], 1874]) Now execute NotebookSave on this NotebookObject. The standard "Save"dialog will come up and you can choose where to put it. (M 6) In:= NotebookSave[nb] Now this palette is where you put it on your system. If you want to install it so that Mathematica knows of its existence thought the Palettes Menu you can now use the "Palettes>Install Palette..." menu item to let Mathematica place the palette that you just created in an appropriate place for Mathematica to access it. Hope that this helps, David Reiss http://scientificarts.com/worklife/ On May 17, 6:11 am, Murray Eisenberg <mur... at math.umass.edu> wrote: > From another notebook I've newly created a separate notebook that's a > palette. How do I save that palette? Neither File>Save nor File>Save > As seem to do anything. > > I'm sure I've asked this question before, but I cannot find the answer. > I know it's something VERY simple and VERY obvious! But each time I > encounter the issue I'm dumbfounded. > > This time I promise to store the answer somewhere where I can find it > readily again. > > -- > Murray Eisenberg mur... at math.umass.edu > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 413 549-1020 (H) > University of Massachusetts 413 545-2859 (W) > 710 North Pleasant Street fax 413 545-1801 > Amherst, MA 01003-9305