Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

ResetMenusPacket in version 6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86282] ResetMenusPacket in version 6
  • From: "Vincent Buonomano" <vincent at hydrosoft.com.br>
  • Date: Fri, 7 Mar 2008 02:31:17 -0500 (EST)

Previous to Version 6 I have been using my own Mathematica menus loading
them with the command:

 

            FrontEndExecute[{ResetMenusPacket[myMenus]}] 

            

where for example

 

            myMenus = Menu["my menus",{

                        ...,

 
Item["myItem",FrontEndExecute[ToExpression["myCommand[]"]],MenuEvaluator->Au
tomatic],

                        ...

                        }]

                        

This no longer works in Version 6.

 

 

However the identical Item command does work if I use it in my own
MenuSetup.tr file, which I don't want to do for certain reasons.

 

I have tried variations of Item formats like using KernelExecute instead of
FrontEndExecute to no avail.

 

Can anybody help me?

 

Thank you,

Vincent Buonomano                  



  • Prev by Date: Re: Assignment problem
  • Next by Date: Re: 64-bit problems with Mac version
  • Previous by thread: Re: Searching for multiple strings in a list
  • Next by thread: changing style of vertices for ShowGraph with Combinatorica