Strikethrough with Color

Get help using and writing Nisus Writer Pro macros.
Post Reply
Bob Stern
Posts: 140
Joined: 2006-03-12 12:32:47

Strikethrough with Color

Post by Bob Stern » 2010-01-04 00:50:17

Is it possible for a macro to apply the strikethrough attribute to selected text so that the strikethrough has a desired color such as red?

I know I can define a character style that includes a red strikethrough, but I'd prefer to apply it as a text attribute so that I will not override the existing character style of the selected text.

p.s. Happy New Year, Martin!

User avatar
martin
Official Nisus Person
Posts: 4251
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Strikethrough with Color

Post by martin » 2010-01-04 13:59:05

Happy New Year to you too Bob! 8)

Unfortunately there's no supported way for macros to modify either the underline or strikethrough colors. One might be able to hack together something that parses raw RTF codes to add the desired coloring, but I wouldn't recommend it. I'll file enhancement requests to the macro language.

Post Reply