On Fri, Jun 25, 200411:47, the following words from Charles Watts-Jones
[EMAIL PROTECTED], emerged from a plethora of SPAM ...
>Stuffit expanded 'PoboxSpamTagRemover.scpt.sitx-binhex.hqx' OK too. When
>I tried to look at it in Smile, I got Error -39 which, I believe, is an
>indication that the EOF marker is reached before the end of the file.
>Maybe this arises because the file was compressed with an OS X version of
>Stuffit(?). My interest here is to look at and possibly modify the
>script to use with PM 4.2.1. If modification is not practicable, then
>I'll forget it. If however it is, could it be uploaded (or sent off-
>line) as an old fashioned .sit file please.
Well, it seems that .Mac assumes that the users won't compress their
files, so they compress all files that will be accessed in web pages
which might have caused some corruption. I didn't realize that as I
always compress before uploading. So, everything got compressed several
times, as you can tell by the file names. They don't make it easy to read
the file names in the midst of the editing. My iDisk's Public folder view
also doesn't show the additional compression. I ran several tests before
figuring this one out because I'm just not used to someone trying to out-
think what I think I should do with my files.
I may have to rethink this .Mac strategy because I'm stubborn AND I have
control issues. <g>
The PoboxSpamTagRemover.scpt is simple, and yes, I've been using it a
long time, so it should work in 4.2.1 which I was just using just a few
short weeks ago. This is one of the scripts I created way back when I was
using Emailer :
to getTheLastWords(passedText)
if the passedText contains "spam score" and the passedText contains
"pobox] " then
set the desiredLastWords to (characters 27 thru -1 of (the
passedText))
as text
return the desiredLastWords
else
return "Not Spam!"
end if
end getTheLastWords
tell application "PowerMail"
set the targetList to the current messages
set the msgCount to count the targetList
if the msgCount is greater than 0 then
repeat with targetMsg in the targetList
set the targetsSub to the subject of the targetMsg
set the lastWords to getTheLastWords(targetsSub) of me
if the lastWords is not "Not Spam!" then
try
set the subject of the targetMsg to the
lastWords
on error
beep
end try
else
say the lastWords
end if
end repeat
else
say "No messages selected."
end if
end tell
Hope this works for you - only a few lines.
Now I have to go file a suggestion/feedback to Apple.
cheshirekat
--
Great music is that which penetrates the ear with facility and leaves the
memory with difficulty. Magical music never leaves the memory.
- Thomas Beecham (1879-1961), British conductor. quoted in Sunday Times
(London, Sept. 16, 1962).
* 867 PowerBook G4 * OS X 10.2.8 * 768 MB Ram *