Re: copying styled text from TextEdit
Re: copying styled text from TextEdit
- Subject: Re: copying styled text from TextEdit
- From: ehsan saffari <email@hidden>
- Date: Wed, 20 Feb 2002 02:56:44 -0600
On 19/02/2002 21:26, Camilla <email@hidden> wrote:
>
I am trying to copy the text with the clipboard commands in the standard
>
additions. The line that doesn't work properly looks like this:
>
>
set the clipboard to every paragraph of text of document 1 as styled text
tell app "TE+"
activate <-- required for clipboard operations
set the clipboard to contents of document 1 as styled text
end tell
>
I also tried to put the text into a variable, but that didn't work
>
either.
set MooseJaw to contents of document 1 as styled text
>
I should probably mention that the TextEdit document had some pictures
>
in, but I didn't want to copy them. I would be very grateful if anyone
>
could help with this, as I'm sure it should be easier than I am making
>
it.
check.
cheers
ehsan
_______________________________________________
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.