How to apply user hilite to selected text

Get help using and writing Nisus Writer Pro macros.
Post Reply
js
Posts: 259
Joined: 2007-04-12 14:59:36

How to apply user hilite to selected text

Post by js »

I think a user hilite can be defined like this:

$myHilite = Color.newWithRGB(255, 255, 163)
Set Highlight Color $myHilite

But how can myHilite be applied to the acutal text selection?
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: How to apply user hilite to selected text

Post by phspaelti »

Try this instead.

Code: Select all

$myHilite = Color.newWithRGB255(255, 252, 163)
Set Highlight Color $myHilite
:wink:
philip
js
Posts: 259
Joined: 2007-04-12 14:59:36

Re: How to apply user hilite to selected text

Post by js »

Thank you Philip!
Post Reply