Creating styled text files and who will open
Creating styled text files and who will open
- Subject: Creating styled text files and who will open
- From: Irwin Poche <email@hidden>
- Date: Sun, 16 Sep 2001 13:52:01 -0500
I have an AS that creates a rather large text file - too large to be opened
by Simple Text.
This creates the files simply enough...
set logPath to ((desktop) as string) & "MP3 Log File
set logFile to open for access file logPath with write permission
write "lots and lots of stuff" to logFile
...
write "lots and lots of stuff" to logFile
close access logFile
I would now like to include some tags (I think) in the text that would have
basic style (bold, italic, font, size, etc) and have the file have the
appropriate Finder file type to force it to be opened with Word, BBedit, etc
as styled text.
How can this be done ?