• 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: email@hidden
  • Date: Sat, 12 Jan 2002 13:57:58 EST

Try this:

set plainText to styledText as unicode text as string

Jeff Baumann
email@hidden
www.linkedresources.com


In a message dated 1/12/02 12:12:35 AM, Ben Robbins wrote:

>I'm scripting Fetch 4.0.1 in OS X 10.1.2. Fetch has a problem
>receiving information as styled text and I get styled text when I
>make certain calls to the finder, so I'm trying to coerce it to plain
>text.
>
>For example:
>
>tell application "Finder"
> copy name of vFolder to vPath
>end tell
>
>--results in styled text
>
>The Fetch folks recommended adding "as text", but it doesn't seem to work.
>
>vPath as text
>
>-- still styled text
>
>I've tried getting characters from the String, but I still get Styled text.
>
>Any ideas how to coerce styled text to plain text?
>
>Thanks
>_____________________________________________________________________
>ActiveMac Consulting http://www.activemac.com/
>Seattle, WA email@hidden
> (206) 297-8834


  • Prev by Date: Re: Form data
  • Next by Date: Re: Copy to clipboard when non supported?
  • Previous by thread: Re: coercing styled text to text
  • Next by thread: Query for Paul or anyone about Entourage Categories
  • Index(es):
    • Date
    • Thread