This is an Apple Script that will toggle grayscale mode under MacOSX 10.9