Is Calendar.app known to be working with Hookmark?
I know in the past, I needed to keep the event selected for about 5 seconds or so before Hookmark could pick it up, but recently I cannot get Hookmark to see my events at all.
P.S. When I run the Get Address script, by itself, in Script Editor, it errors out: error “Parse error near line 2: no such table: zcalendaritem” number 1
AppleScript can be finicky in Calendar if you have a panel open, or multiple windows. Calendar can get confused about focus. Have you tried closing windows and relaunching Calendar?
I have the same problem. Calendar 11.0, Hookmark 4.0 (haven’t tried the beta yet), scripts bundle v248. I noticed that Calendar is not showing up in System Settings > Privacy & Security > Automation > Hookmark. It’s just not there at all, so I can’t uncheck and recheck it. And of course there’s no way to manually add apps to that list (that I know of). Seems Hookmark just hasn’t been able to trigger the ask for that permission or something.
We have fixed the issue(script version 249). Please use the Check for App Updates and Update Scripts … function in Hookmark’s gear menu, or in its Hook > Preferences > Update tab .
Progress! But alas, not enough to resolve the issue. With script version 249, I got the permissions alert asking me if I want to allow Hookmark to control Calendar. I said yes, but Hookmark still reports it is unable to find any linkable items in Calendar. System Settings still doesn’t show Calendar in the Hookmark Automation permissions either.
I restarted Hookmark and Calendar and also rebooted my Mac. Still no dice.
What’s your macOS version? My macOS version is 13.1.
Have you try this:
1.1 Your accessibility permission database is corrupted
The macOS accessibility permissions database can get confused. In that case you might see strange behavior like not being able to disable or enable permissions for an app. In that case, you may reset Accessibility for Hookmark as follows:
Resetting accessibility fixed it! Funny, I didn’t think to try that since it seemed so Calendar specific. After resetting, I didn’t get another permissions prompt for Calendar. I just got the general accessibility prompt. But once it was reenabled, I could copy links from Calendar.
It’s actually working better than it did before. There is no longer any self-imposed delay needed when selecting an event. I select an event, hit my shortcut, and I see the event in Hookmark’s window.
Here’s how I made it work.
Update Hookmark
Reset the Accessibility permissions, and the re-enable them.: