About A WorkLife FrameWork | Purchase
Menu Items on Custom Palettes
Posted on: Wednesday 9/27, 2006; 9:51 AM
In A WorkLife FrameWork there are six fully customizable palettes to which you can assign any number of user-specified buttons. Here is an example where Custom Palette #1 is given buttons that correspond to the Edit|>Motion Mathematica menu items.
To do this one needs to know the Front End Tokens that correspond to the menu items, as well as how to use the Mathematica function FrontEndExecute. However, for this example you don't need to know how these work, and at some point in the near future I will post all of the accessible menuitems on this web site so that you can choose which ones you might want to include in a custom palette.
To read the on-line HelpBrowser documentation on how to put buttons into the custom palettes execute the following in a Mathematica session after A WorkLife FrameWork has been installed:
Following this specification, here are the data that are needed to create the buttons in a custom palette:
Now the following assigns these buttons to the first custom palette:
And this opens the first custom palette:
And, finally, this is how it looks:
This post's notebook link contains the the code from this post.
Permalink Notebook
|