Jump to content

AppleScript Not authorized Error


Recommended Posts

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

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...