Re: Thirteen Scripters Scripting
Re: Thirteen Scripters Scripting
- Subject: Re: Thirteen Scripters Scripting
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 24 Dec 2008 20:18:53 -0500
On Wed, Dec 24, 2008 at 8:07 PM, Michelle Steiner
<email@hidden> wrote:
> On Dec 24, 2008, at 4:35 PM, Mark J. Reed wrote:
>
>> set ordinals to {"st", "nd", "rd", "th"}
>
> While we're at it, you don't need that.
>
> Try this:
>
> repeat with x from 21 to 24
> say (x as text) & "th"
> end repeat
Well, now, that's just cool. Thanks!
Kind of a shame there's no built-in way to get the proper textual
form, though, rather than relying on the text-to-speech to transform
it.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden