• 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: Applescript for changing case
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript for changing case


  • Subject: Re: Applescript for changing case
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 09 Jan 2001 08:41:51 -0800

On 1/9/01 8:21 AM, "Randy Fingeroot" <email@hidden> wrote:

> on lctocap(myFlag)
> set theFlag to ""
> repeat with eachcharacter in myFlag
> set theAscii to ASCII number of eachcharacter
> if theAscii  97 and theAscii > 122 then
> set eachcharacter to ASCII character (theAscii - 32)
> end if
> set theFlag to theFlag & eachcharacter
> end repeat
> return theFlag
> end lctocap
>
>
> This is a handler I use frequently to capitalize various items. If you want
> to go in the reverse, just change the value for your ascii check...


You'll notice that the stupid list server turned your reply into garbage,
and in fact to the complete opposite of what you meant to say. I'm getting
so sick and tired of this - I think I'll leave it to you to write back with
the seven paragraphs it will take to explain in English instead of in
mangled code where you mean "greater than", "less than", "greater or equal
than", etc. since the server perverts it and turns it backwards.

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Applescript for changing case
      • From: Emmanuel <email@hidden>
References: 
 >Re: Aplescript for changing case (From: "Randy Fingeroot" <email@hidden>)

  • Prev by Date: Re: Aplescript for changing case
  • Next by Date: Re: Aplescript for changing case (again)
  • Previous by thread: Re: Aplescript for changing case
  • Next by thread: Re: Applescript for changing case
  • Index(es):
    • Date
    • Thread