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…

Screenshot of source code checking programmatically for the existence of NSShadow based on AppKit version.

*****
Written on