Re: Init Caps Handler
Re: Init Caps Handler
- Subject: Re: Init Caps Handler
- From: Philip Aker <email@hidden>
- Date: Wed, 21 Nov 2007 03:09:11 -0800
On 2007-11-21, at 02:30, KOENIG Yvan wrote:
Thanks Philip to take care of our old-european-languages ;-)
Best to use this second version. It covers the edge cases pointed out by M Skeeve.
set elan to quoted form of "élan, it's virtues are elegant ;-)" set upper to (do shell script "tclsh <<< 'puts [string toupper {'" & elan & "'}]'") set lower to (do shell script "tclsh <<< 'puts [string tolower {'" & elan & "'}]'") set title to (do shell script "tclsh <<< 'puts [string totitle {'" & elan & "'}]'") upper & return & lower & return & title
--> "ÉLAN, IT'S VIRTUES ARE ELEGANT ;-) élan, it's virtues are elegant ;-) Élan, it's virtues are elegant ;-)"
Philip Aker
|
_______________________________________________
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