• 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: Unicode to plain text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode to plain text


  • Subject: Re: Unicode to plain text
  • From: "Arthur J. Knapp" <email@hidden>
  • Date: Thu, 19 Sep 2002 10:41:27 -0400

> Date: Wed, 18 Sep 2002 12:02:50 -0700
> From: Jon Pugh <email@hidden>
> Subject: Unicode to plain text

> Does anyone know how to convert utxt to TEXT in plain AppleScript? I'm
> beginning to doubt that there's a way.

;-)

In addition to being an AppleScript god, you are also a regular
contributer to this list, I'm surprised you haven't seen this before:

-- unicode_text is, well, Unicode text :)

set styled_text_record to unicode_text as record
set plain_text to <<class ktxt>> of styled_text_record


-- one liner:

set plain_text to <<class ktxt>> of (unicode_text as record)


{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
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: FMP 6.0v3, OS X 10.2 and AppleScript -> Broken
  • Next by Date: Re: Two related questions:
  • Previous by thread: Re: Unicode to plain text
  • Next by thread: Re: Unicode to plain text
  • Index(es):
    • Date
    • Thread