• 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
Styled Text doesn't work :(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Styled Text doesn't work :(


  • Subject: Styled Text doesn't work :(
  • From: "Clem'Sail" <email@hidden>
  • Date: Thu, 19 May 2005 19:12:11 +0200

i've make this little script to test because i want edit styled text for an email.
But AppleScript not remeber style of text


in this script the file app05.rtf containt 3 line and the first as in bold
but when it create the new doc with text, nothing style are present !


Ps: Sorry for my english but i'm french and i never learn english at school.
Thank
Clém's



Script :


tell application "TextEdit"

       open ":Volumes:HD:app05.rtf"

       set APP05 to text of document "app05.rtf" as styled text

set docRef to (make new document at beginning with properties {text:APP05 as styled text})

end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Styled Text doesn't work :(
      • From: kai <email@hidden>
    • Re: Styled Text doesn't work :(
      • From: Emmanuel <email@hidden>
  • Prev by Date: printing to a file through applescript
  • Next by Date: Re: Scripting Spotlight?
  • Previous by thread: printing to a file through applescript
  • Next by thread: Re: Styled Text doesn't work :(
  • Index(es):
    • Date
    • Thread