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

Re: Styled Text doesn't work :(


  • Subject: Re: Styled Text doesn't work :(
  • From: Emmanuel <email@hidden>
  • Date: Fri, 20 May 2005 02:53:02 +0200

At 7:12 PM +0200 5/19/05, Clem'Sail wrote:
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

I think this would work in Smile. Download and install Smile, you can use it as your alternate scriptable Text Editor, and it's free. The syntax would be:


tell app "Smile"
set w to open (alias blah blah)
set x to text of w as styled text
set ww to make new text window
set text of ww to x
end tell

Emmanuel
<http://www.satimage-software.com>
The cool authors of Smile.

Version Français (since you say you're not fluent in English)

Je pense à ceci marche dans Smile. Télécharge et installer Smile, tu peut utilise lui comme le différent Text Editor "scriptable", et il est gratuit. La syntaxe sera: (etc.)

Emmanuel
_______________________________________________
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


References: 
 >Styled Text doesn't work :( (From: "Clem'Sail" <email@hidden>)

  • Prev by Date: ANNOUNCE: Script Debugger 3.0.9
  • Next by Date: Re: Text - change case
  • Previous by thread: Styled Text doesn't work :(
  • Next by thread: Re: Styled Text doesn't work :(
  • Index(es):
    • Date
    • Thread