coercing styled text to text
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