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

Re: Aplescript for changing case


  • Subject: Re: Aplescript for changing case
  • From: Richard 23 <email@hidden>
  • Date: Tue, 9 Jan 2001 14:12:02 -0800

>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.

Here's yet another shameless plug for the script I spent nearly a full day
on to help combat this problem. Running Convert Script twice (once to
attempt to salvage the script for pasting into a script editor, the second
to convert back to email) yielded this:

-- ---------------------------------------------------------
-- Preprocessed by Convert Script 1.0d2
-- ---------------------------------------------------------
on lctocap(myFlag)
set theFlag to ""
repeat with eachcharacter in myFlag
set theAscii to ASCII number of eachcharacter
(* CS: The next line contains >= which may really be ASCII Character 4 *)
(* CS: The next line contains > which may really be <= *)
(* CS: Since I'm not psychic, it's your call. No change made. *)
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
-- ---------------------------------------------------------

Note that the original line:

> if theAscii  97 and theAscii > 122 then

is not at all what John had in mind. Since the greater than
sign in a mangled script can mean <= OR > my script has the
sense not to touch it.

(* CS: The next line contains > which may really be <= *)
(* CS: Since I'm not psychic, it's your call. No change made. *)

Maybe John will let us know if indeed the > is really <= or
if he's being silly and meant to say >. 8P

Haven't I made my case for the mere $29.95 ... ok its free! 8)

Please use Convert Script 1.0d2 until this confuse-o-script
feature can be brought under control.... Running CS before
posting will prevent this sort of encryption (or whatever).
Thanks.

R23

You will find a link to the script and the read me on the front
page of my site. It's really really easy to use.




http://homepage.mac.com/richard23/


  • Prev by Date: Re: Aplescript for changing case (again)
  • Next by Date: Re: Reading Lists and Records from Disk Files
  • Previous by thread: Re: Applescript for changing case
  • Next by thread: Signing off
  • Index(es):
    • Date
    • Thread