• 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: copying styled text from TextEdit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: copying styled text from TextEdit (NOT Tex-Edit Plus)
      • From: Camilla <email@hidden>
  • Prev by Date: Re: Setting Script Editor Application
  • Next by Date: Re: QuickTime movie frame rate or duration (in time scale) of a frame
  • Previous by thread: copying styled text from TextEdit
  • Next by thread: Re: copying styled text from TextEdit (NOT Tex-Edit Plus)
  • Index(es):
    • Date
    • Thread