Re: Init Caps Handler
Re: Init Caps Handler
- Subject: Re: Init Caps Handler
- From: Paul Scott <email@hidden>
- Date: Tue, 20 Nov 2007 16:34:10 -0800
On Nov 20, 2007, at 4:25 PM, Philip Aker wrote: On 2007-11-20, at 15:28, Paul Scott wrote:
On Nov 20, 2007, at 12:57 PM, Oakley Masten wrote: While I'm at it how about "All Caps" and "No Caps"?
set elan to "élAn" set upper to (do shell script "echo 'puts [string toupper {" & elan & "}]' | tclsh") set lower to (do shell script "echo 'puts [string tolower {" & upper & "}]' | tclsh") set title to (do shell script "echo 'puts [string totitle {" & upper & "}]' | tclsh") set res to upper & space & lower & space & title
Jiminy Cricket! And it's localized, to boot!
I knew there was a reason to learn TCL!
|
_______________________________________________
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