After trying for a day to fix my Lion-broken scripts, I finally gave up and asked folks at Apple’s discussion forum about my problem, and the very first response by Pierre L. nailed it:
Try replacing this one line:
set content to thisMessage’s source
with these two lines:
set theSource to thisMessage’s source
set content to theSource
That worked like a champ.
Updated scripts are available: spam_uce_gov.scpt and spam_paypal_com.scpt. As always, these are provided for free and are unsupported, although I’ll try to help if I can.
[Update, 31 Oct 2011]: These scripts had an issue with background sending, as the accumulated emails would clog up. I got a great suggestion for a fix on the AppleScript forums at apple.com, and now things seem to be working. I’ve replaced the scripts above with the improved copies.
: No future upgrades to these scripts will be provided.
I’ve upgraded this site to WordPress 3.0 as a pathfinder for a number of reasons, one of them being that I have a professional interest in doing so. This site is always my bleeding edge for WordPress upgrades—if it doesn’t break here, it typically won’t break elsewhere….
This is a low-priority site, so I had no qualms in making it my first upgrade to WP 2.1.
Let me know if you see breakage.
Yes, it’s been forever since I’ve written code. There’s many reasons for this. One has been dealing with the administrivia of dealing with a deluge of comment spam.
I’m now running WP 1.5 and hoping for some more inspiration in the code department. I’m sorely lacking…
I’ve upgraded GFMorris.org to the latest stable version of WordPress, 1.2-mingus.
Per-category feeds are available; click on a category in the sidebar and add “rss/” or “atom/” to the end of the URL in your browser’s location bar to get such feeds.
Some people get the .net and .org of their .com domain names just to prevent cybersquatters from, well, squatting.
I guess that was the original purpose behind getting gfmorris.net, but after getting involved with building [rocksmyfaceoff.net], I realized that I wanted a place where I could share code with the world.
Not that my code is any good, mind you; I just give because I can, and I give because I’ve received.
Now, back to my coding.