Re: Init Caps Handler
Re: Init Caps Handler
- Subject: Re: Init Caps Handler
- From: Takaaki Naganoya <email@hidden>
- Date: Wed, 21 Nov 2007 09:51:59 +0900
On 2007/11/21, at 9:25, 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
--> "ÉLAN élan Élan"
--> "四AN 四an 四an" (in Tiger Japanese environment)
--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden
PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
_______________________________________________
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