« »

Two new scripts

There are two new scripts on the Applescripts page.

Expand text snippets

TextMate has a great feature where text snippets can be easily expanded into standard boilerplate text. For programmers, this often means taking something like arr and having it expanding into NSMutableArray *array = [NSMutableArray array];. This feature alone can save a lot of reptitive programming. The Expand Snippets script approximates that feature for Xcode and TextWrangler. When paired with Fast Scripts, this script can save Xcoders from a lot of repetitive programming. Some assembly required (details in included ReadMe).

Download | View source

Can image spam

Image-based spam has a tendency to slip through Mail’s junk filter. Mail can’t see that this image is spam and the spammers make it more difficult for Mail by adding text below the image that isn’t spam-like. Unfortunately, Mail’s filtering rules don’t provide options for gracefully handling this spam. Mail can, however, run an applescript as a rule action. The Can Image Spam applescript runs a few simple tests to help determine whether incoming mail is this image spam.

Download | View source

Leave a Reply