Macros and fonts
Macros and fonts
Can I change the color of text through perl scripts? How?
-
- Official Nisus Person
- Posts: 428
- Joined: 2003-02-11 10:49:05
- Location: Solana Beach, CA
- Contact:
Macros and fonts
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
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.
Mark Hurvitz
Nisus Software Inc.