Re: syntax-aware selection in palette notebook
- To: mathgroup at smc.vnet.net
- Subject: [mg112108] Re: syntax-aware selection in palette notebook
- From: Arnoud Buzing <arnoudb at wolfram.com>
- Date: Tue, 31 Aug 2010 04:15:22 -0400 (EDT)
Not sure if this answers your question, but here are a few tips that
might be useful when working with palettes:
1. Use CreatePalette[expr] to generate palettes:
cp := CreatePalette[Button["Create Palette", cp]]
That way you have access to the code to generate a palette and you can
modify that to make changes to your palette.
2. Under the 'Palettes' menu, there is a 'Generate Notebook from
Palette'. After using this on a (selected) palette, you can then
look at the underlying cell expression with the Cell -> Show Expression
3. Assign the palette notebook object to a variable like so:
nb = cp
And then traverse the notebook expression to the BoxData and call
MakeExpression on it:
MakeExpression[NotebookGet[nb][[1, 1, 1]], StandardForm] // FullForm
On 8/22/10 7:10 AM, Murray Eisenberg wrote:
> If I have a palette notebook already created, how can I open it in a way
> that I (1) see the underlying expressions; and (2) can select in a
> syntax-aware manner, just like you can with input expressions in an
> ordinary notebook?
> Is there some way in Mathematica itself?
> In Workbench? If so, how do you open the palette notebook there that way?
Prev by Date:
Next by Date:
Re: "Abort Evaluation" does not work
Previous by thread:
syntax-aware selection in palette notebook
Next by thread:
inconsistency of FourierParameters for Fourier and FourierTransform