I faced same error opening gitk.
Error in startup script: execution error: Not authorised to
send Apple events to System Events. (-1743)
SOLUTION
Goto Settings -> Security & Privacy -> Privacy -> Automation -> Privacy tab and check the System Events checkbox.