MathGroup Archive 2003

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

Search the Archive

Re: Re: Background Colors in The Format Menu

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42957] Re: [mg42939] Re: Background Colors in The Format Menu
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 6 Aug 2003 03:16:32 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200307302331.TAA25666@smc.vnet.net> <bgkooh$agt$1@smc.vnet.net> <200308050604.CAA01649@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks.

My trouble was that the entry on the Format menu itself, "Text Color", 
is not the same as the token name.

Bhuvanesh wrote:

> Murray Eisenberg <murray at math.umass.edu> wrote:
> 
>>How would one add those menu choices to the Text Color dialog?
>>
>>Here's what I tried (analogous to what was suggested by John Fultz in 
>>).  Inside AddOns > Autoload I created new directories 
>>TextColors > FrontEnd and in the latter placed an init.m with contents:
>>
>>AddMenuCommands["TextColorsDialog", {Delimiter,
>>  Item["HelpBrowser Brick", FontColor -> RGBColor[0.592157, 0.313726, 
>>0.313726]],
>>  Item["Mocha", FontColor -> RGBColor[0.501961, 0.25098, 0]],
>>  Item["Ocean", FontColor -> RGBColor[0, 0.25098, 0.501961]],
>>  Item["Eggplant", FontColor -> RGBColor[0.25098, 0, 0.501961]]}]
>>
>>But nothing seems to happen,  I also tried token names "TextColorDialog" 
>>and "TextDialog", with the same non-result.
>>
>>What is the correct token name or other magic needed to do this?
> 
> 
> It's called FontColorDialog. If you have Mathematica 5 and you look in
> the Help Browser under Front End -> Front End Tokens -> Format Menu,
> the tokens for items under the Format menu will be listed.
> 
> --
> Bhuvanesh
> Wolfram Research
> 
> Disclaimer: All opinions expressed herein are my own and do not
> necessarily represent those of Wolfram Research.
> 
> 

-- 
Murray Eisenberg                     murray 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


  • Prev by Date: Re: Kernel Timeout
  • Next by Date: Re: Odd behavior (bug?) with Exp[-x^2} and Erf
  • Previous by thread: Re: Background Colors in The Format Menu
  • Next by thread: Re: Re: Re: Background Colors in The Format Menu