driews/Smutefy — pull request #2 by lakemalcom (2012-02-27 17:57:25+00:00)
Title: I'm no Apple dev but the change to Smutefy.m fixed it in Lion for me

You also might want to consider using a Notification based approach like they used in the MacRuby script: http://blog.designalism.com/post/38/

I don't have any experience with Obj-C though so, otherwise I'd just have done that. :)