I switch "Automation follows events" on and off all the time.

I would like to have a keyboard shortcut and a scriptable command for this.