Two Keyboard Maestro macros: one to check the status of “Smart Quotes” and one to toggle it.