Reply to topic  [ 7 posts ] 
Macro to Choose Highlighting Color 
Author Message

Joined: 2007-07-30 12:06:49
Posts: 30
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.


2007-12-06 12:20:43
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
I'm not sure I understand, but if I do, here's a macro to get you started:

Code:
$color = Prompt Options “What highlight color should be applied?”, “Please choose the color:”, “Apply”, “Red”, “Green”, “Blue”
Menu “:Format:Highlight:$color”

Hopefully the way to extend the macro is clear. If not, let me know.


2007-12-06 14:43:58
Profile WWW

Joined: 2007-07-30 12:06:49
Posts: 30
Post 
This macro has been very helpful. The one limitation is that I have to go to the mouse to choose the colors.

Is there any way to make it so I can tab between the options? Alternatively, I could type g for green or r for red—something like that.

Thanks.


2008-01-15 12:30:22
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
lawrencegoodman wrote:
Is there any way to make it so I can tab between the options?

It may be because I've enabled "full keyboard access" in my system preferences, but when the radio option buttons have focus I can use the up/down arrow keys to select the option I want.


2008-01-15 13:47:50
Profile WWW

Joined: 2007-07-30 12:06:49
Posts: 30
Post 
Yup, that does it. Thanks.


2008-01-15 16:39:24
Profile

Joined: 2007-04-12 14:59:36
Posts: 229
Post 
martin wrote:
I'm not sure I understand, but if I do, here's a macro to get you started:

Code:
$color = Prompt Options “What highlight color should be applied?”, “Please choose the color:”, “Apply”, “Red”, “Green”, “Blue”
Menu “:Format:Highlight:$color”

Hopefully the way to extend the macro is clear. If not, let me know.


I guess "Red" was not such a good example here (;-|
This said, is there any means ot plans to extend the abvailable hilite colors?


2008-02-04 01:04:39
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
It's been requested a few times I know, and it is on the official list of additions. I can't say when you'll see it though.


2008-02-04 16:12:32
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software