So I use various highlighting colors throughout a document, and was wondering if there was a way to build a macro where you could call up a menu that listed each color and then, by selecting a number, you would be able to choose a specific color.
Any help would be much appreciated.
Macro to Choose Highlighting Color
- martin
- Official Nisus Person
- Posts: 5228
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
I'm not sure I understand, but if I do, here's a macro to get you started:
Hopefully the way to extend the macro is clear. If not, let me know.
Code: Select all
$color = Prompt Options “What highlight color should be applied?”, “Please choose the color:”, “Apply”, “Red”, “Green”, “Blue”
Menu “:Format:Highlight:$color”
-
- Posts: 30
- Joined: 2007-07-30 12:06:49
I guess "Red" was not such a good example here (;-|martin wrote:I'm not sure I understand, but if I do, here's a macro to get you started:
Hopefully the way to extend the macro is clear. If not, let me know.Code: Select all
$color = Prompt Options “What highlight color should be applied?”, “Please choose the color:”, “Apply”, “Red”, “Green”, “Blue” Menu “:Format:Highlight:$color”
This said, is there any means ot plans to extend the abvailable hilite colors?