• 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
text appears, but styling is gone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

text appears, but styling is gone


  • Subject: text appears, but styling is gone
  • From: Philippe GRUCHET <email@hidden>
  • Date: Sat, 11 Jan 2003 21:09:27 +0100

From: has <email@hidden>

tell app "Safari" to get text of document 1

BTW, is it just me, or do Safari, TextEdit, etc. lose style
information when you get the text of a document?

tell application "Safari" to get text of document 1
tell application "TextEdit" to set text of document 1 to result
--> text appears, but styling is gone

Yes, styles are ignored, even with Jon's Commands.osax:

tell app "Safari" to text of document 1 as styled text

just returns as plain text.


Regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr


Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: Forcing 'tell app' to use carbon, rather than classic app
  • Next by Date: Re: Test for BSD subsystem
  • Previous by thread: Re: script runs on 9.X but not on 7.6.1
  • Next by thread: Re: text appears, but styling is gone
  • Index(es):
    • Date
    • Thread