A WorkLife FrameWork Blog
 

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:

FrontEndExecute[{FrontEnd`HelpBrowserLookup["AddOns", "WorkLife51.1"]}]

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:

AssignButtonsToCustomPalette[1, buttonData] ;

And this opens the first custom palette:

Custom1Palette[] ;

And, finally, this is how it looks:

[Graphics:HTMLFiles/BE3368357516_5.gif]

This post's notebook link contains the the code from this post.

Permalink   Notebook

Recent Posts

Blogged From
A
WorkLife FrameWork

10/31, 2006; 2:32 PM:
Another blog mention of A WorkLife FrameWork
10/23, 2006; 9:54 AM:
Finding A Diary or Notebook
10/10, 2006; 8:45 PM:
At the Wolfram Technology Conference
10/8, 2006; 10:35 AM:
The Wolfram Technology Conference
9/27, 2006; 9:51 AM:
Menu Items on Custom Palettes
9/21, 2006; 9:50 AM:
A Tip: Multiple disks or partitions
9/20, 2006; 2:57 PM:
A bit of Blogosphere notice
9/18, 2006; 8:24 PM:
Opening a set of files
9/14, 2006; 10:25 PM:
An Email Trick--slightly advanced
9/14, 2006; 10:08 PM:
The most current version...
9/11, 2006; 12:00 PM:
Finally Released!

Archive


Links
Mathematica
Mathematica Google Group
Scientific Arts
WorkLife

 

 

All material on this website Copyright © 2005-2006, Scientific Arts, LLC.