• 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: Stupid, Stupid Text Features [Was: Can't set creator type]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stupid, Stupid Text Features [Was: Can't set creator type]


  • Subject: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 24 Feb 2004 13:00:38 -0800

On 2/24/04 9:20 AM, I wrote:

> Arthur (who you may recall left this list out fed up with being constantly
> thrown off it) has written me to say that it was indeed richard23 who
> discovered <<class ktxt>> . Arthur has also come up with a version that
> avoids the << >> stuff, which I will forward on here as soon as I've
> digested it.
>

I found a little tweak that needed to be tweaked. OK, here it is without
guillemets. Use it only for text - it won't work as you might like for
lists.

on AsText(str)
try
return (text of ((str as string) as record)) as string
on error -- plain text to begin with
return str
end try
end AsText


--
Paul Berkowitz
_______________________________________________
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.


References: 
 >Re: Stupid, Stupid Text Features [Was: Can't set creator type] (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Next by Date: Re: redirect in mail.app
  • Previous by thread: class ktxt, original discovery (was Re: Stupid, Stupid Text Features)
  • Next by thread: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Index(es):
    • Date
    • Thread