Reply to topic  [ 2 posts ] 
Macros and fonts 
Author Message

Joined: 2004-08-05 09:12:58
Posts: 1
Can I change the color of text through perl scripts? How?


2004-08-05 09:14:26
Profile
Official Nisus Person
User avatar

Joined: 2003-02-11 10:49:05
Posts: 428
Location: Solana Beach, CA
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.


2004-08-10 14:48:06
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software