Macros and fonts

Have a problem? A question? This is the place for answers from other Express users.
Post Reply
scishop
Posts: 1
Joined: 2004-08-05 09:12:58

Macros and fonts

Post by scishop »

Can I change the color of text through perl scripts? How?
rmark
Official Nisus Person
Posts: 428
Joined: 2003-02-11 10:49:05
Location: Solana Beach, CA
Contact:

Macros and fonts

Post by rmark »

scishop asks and Nick renewed the question.

I'm not an authority on this aspect of Nisus Writer Express. However, I was able to get some (I hope) useful information.



Non-Applescript Macros can change text color, but the user would have to be familiar enough with RTF to be able to change the RTF version of the text, without breaking it. With Applescript it is much easier:

tell application "Nisus Writer Express"
set color of characters 1 thru 5 of text of document 1 to {30000, 0, 0}
end tell
Write On!
Mark Hurvitz
Nisus Software Inc.
Post Reply