Re: Re: Re: Background Colors in The Format Menu
- To: mathgroup at smc.vnet.net
- Subject: [mg42944] Re: [mg42933] Re: [mg42857] Re: [mg42821] Background Colors in The Format Menu
- From: John Fultz <jfultz at wolfram.com>
- Date: Tue, 5 Aug 2003 02:04:57 -0400 (EDT)
- Reply-to: jfultz at wolfram.com
- Sender: owner-wri-mathgroup at wolfram.com
"FontColorDialog" These can be determined by examining the MenuSetup.tr file. Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc. On Mon, 4 Aug 2003 00:46:01 -0400 (EDT), Murray Eisenberg 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 >[mg42854]). 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? > > > >Selwyn Hollis wrote: > >>And while we're at it, how about some better text colors? The last 3 >>of >>these come from the Macintosh "crayon" palette: >> >>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]],