Re: Aplescript for changing case
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/