• 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 (NOT Tex-Edit Plus)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copying styled text from TextEdit (NOT Tex-Edit Plus)


  • Subject: Re: copying styled text from TextEdit (NOT Tex-Edit Plus)
  • From: Camilla <email@hidden>
  • Date: Wed, 20 Feb 2002 11:22:18 +0000

This from ehsan saffari - dated 20/2/02 08:56 am:

> 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

Thank you for replying, Eshan. I think you must have misread my post. It is
TextEdit, the OS X replacement for SimpleText, that I want to copy the text
from, and NOT Tex-Edit Plus.

So my original question remains. Why is the text that I copy from TextEdit
_not_ styled, when the same line of script will happily copy styled text to
the clipboard (or to a variable) from AppleWorks 6 or TexEdit Plus - and is
there some way to write the line so that it can do this. I also mentioned
that the carriage returns in the text copied from TextEdit were replaced by
unix characters. I was just guessing, really - but using the Unix>Mac
conversion in the Tex-Edit Plus quick modify options makes them go away.

Again, thank you for any help. I probably should have said in my earlier
message that I am working on OS X, but I suppose that is obvious now.


Camilla
_______________________________________________
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: John W Baxter <email@hidden>
References: 
 >Re: copying styled text from TextEdit (From: ehsan saffari <email@hidden>)

  • Prev by Date: No love from <<event netwRMst>>
  • Next by Date: Bug in OS 9.2.1/2 S 1.6-1.8.2b?
  • Previous by thread: Re: copying styled text from TextEdit
  • Next by thread: Re: copying styled text from TextEdit (NOT Tex-Edit Plus)
  • Index(es):
    • Date
    • Thread