Found this code in FastScripts, carefully guarding against the possibility that NSShadow doesn’t exist unless we’re running Mac OS X 10.3 or later! I think I can update this now…