Page 1 of 1

Macros and fonts

Posted: 2004-08-05 09:14:26
by scishop
Can I change the color of text through perl scripts? How?

Macros and fonts

Posted: 2004-08-10 14:48:06
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