• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating styled text files and who will open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 ?


  • Follow-Ups:
    • Re: Creating styled text files and who will open
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: applescripting internet explorer ?
  • Next by Date: Re: Creating styled text files and who will open
  • Previous by thread: Re: applescripting internet explorer ?
  • Next by thread: Re: Creating styled text files and who will open
  • Index(es):
    • Date
    • Thread