• 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: Init Caps Handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Init Caps Handler (From: Oakley Masten <email@hidden>)
 >Re: Init Caps Handler (From: Paul Scott <email@hidden>)
 >Re: Init Caps Handler (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Init Caps Handler
  • Next by Date: Re: Init Caps Handler
  • Previous by thread: Re: Init Caps Handler
  • Next by thread: Re: Init Caps Handler
  • Index(es):
    • Date
    • Thread