Not authorized to send Apple events to Contacts

I have this script in Shortcuts which runs fine when I run it from the Shortcuts page (click on Shortcuts from dock and select its name which is "WORK"


on run {input, parameters}

tell application "Contacts"

set the clipboard to (vcard of people) as text

do shell script "pbpaste >~/Desktop/Other/late.vcf"

quit "Contacts"

end tell

return input

end run


However if I try to run it as a Shortcut menu item, I get "Not authorized to send Apple events to Contacts" and the shortcut does not run


Any clues as to how to make it work from the menubar?

Thanks


Sequoia 15.5




iMac (2017 – 2020)

Posted on Jun 13, 2025 8:05 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 14, 2025 5:53 AM

I am away from my mac so I can’t check the exact details but AFAICR you need to grant privileges for your shortcut to “control your computer” or something like this in System Settings->Privacy & Security->Automation

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Not authorized to send Apple events to Contacts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.