SanityFox Posted March 4, 2022 Share Posted March 4, 2022 I've been using an AppleScript to launch Brave in Incognito mode and then open an URL. It had been running no problem for months, but now it's generating an error. [07:34:51.988] FB[Keyword] Processing complete [07:34:51.991] FB[Keyword] Passing output '' to Run NSAppleScript [07:34:52.191] ERROR: FB[Run NSAppleScript] { NSAppleScriptErrorAppName = "System Events"; NSAppleScriptErrorBriefMessage = "Not authorized to send Apple events to System Events."; NSAppleScriptErrorMessage = "Not authorized to send Apple events to System Events."; NSAppleScriptErrorNumber = "-1743"; NSAppleScriptErrorRange = "NSRange: {113, 46}"; I feel like there's a simple fix here, like a Monterey update broke a permission or something, but I haven't been able to figure it out. Any help would be appreciated. Alfred has access to automation, accessibility, etc. in security, so not sure what's going on. Link to comment
Vero Posted March 4, 2022 Share Posted March 4, 2022 @SanityFox Check macOS System Preferences > Security & Privacy > Privacy > Automation, and make sure the checkbox next to Alfred > System Events is checked. If it's already checked, but you're still seeing this error, it's possible that the permissions may have become corrupted and need to be re-set. Link to comment
SanityFox Posted March 4, 2022 Author Share Posted March 4, 2022 Unfortunately that was the first thing I tried. I ended up giving up, doing a complete uninstall, got everything out, then did a re-install, and reimported my workflows, and now it works again. So something was clearly corrupted. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now