Q: ScriptEditor cannot access Contacts
I am attempting to write an AppleScript to be able to check my calendar, and tell me if someone in my contacts has a birthday / anniversary / date in the next 5 day so I can then remind myself to snail mail a physical card.
When I try to run my script, it says it doesn't have permission to access the date of any of my contacts.
But when I try to allow Script Editor to access my Contacts, there's no option to do so in the System Preferences --> Security & Privacy Pane
Due to this security block I am not able to run my script and test if it works.
Is there any way to add ScriptEditor as a valid app to access my Contacts?
NOTE: I am on Yosemite and the help page for Mavericks (here) was not helpful.
MacBook Pro (13-inch Late 2011), OS X Yosemite (10.10.4)
Posted on Jul 9, 2016 5:32 PM
By simply restarting my machine and "rephrasing" how the code was written the error went away on its own...
Maybe that is why it was labeled as a "Syntax Error"? Really weird...
I eventually plan on saving the script as a script and using cron to run it for me. Are there any precautions I can take so that when this runs outside of the accepted "Script Editor" things don't give me more security issues?
Posted on Jul 9, 2016 8:20 PM


