text appears, but styling is gone
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.