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

Re: coercing styled text to text


  • Subject: Re: coercing styled text to text
  • From: Ben Robbins <email@hidden>
  • Date: Mon, 14 Jan 2002 04:16:29 -0800

Thanks - that worked.

At 9:47 PM +0100 01/12/02, Helmut Fuchs wrote:
At 14:59 Uhr -0800 11.01.2002, Ben Robbins wrote:
Any ideas how to coerce styled text to plain text?

I'm using the following to extract "string" data if I don't know, whether theString is a plain string, styled text of Unicode text:

get <<class ktxt>> of (theString as international text as record)

Be warned that you may be losing information - "styled text" carries information about encodings, whereas a plain string doesn't.

HTH,

Helmut
--
_______________________________________________
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.

_____________________________________________________________________
ActiveMac Consulting http://www.activemac.com/
Seattle, WA email@hidden
(206) 297-8834


References: 
 >coercing styled text to text (From: Ben Robbins <email@hidden>)
 >Re: coercing styled text to text (From: Helmut Fuchs <email@hidden>)

  • Prev by Date: X-faces
  • Next by Date: Re: Scripting Mail.app
  • Previous by thread: Re: coercing styled text to text
  • Next by thread: Re: coercing styled text to text
  • Index(es):
    • Date
    • Thread