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

coercing styled text to text


  • Subject: coercing styled text to text
  • From: Ben Robbins <email@hidden>
  • Date: Fri, 11 Jan 2002 14:59:48 -0800

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


  • Follow-Ups:
    • Re: coercing styled text to text
      • From: Helmut Fuchs <email@hidden>
  • Prev by Date: Re: Please Pass the Handler
  • Next by Date: Re: Combinging Images with Photoshop
  • Previous by thread: Re: Scripting Mail.app
  • Next by thread: Re: coercing styled text to text
  • Index(es):
    • Date
    • Thread