Jump to content

AppleScript workflow fails to run

Recommended Posts

An AppleScript workflow fails to run with the following error:

SAppleScriptErrorAppName = FStream;
NSAppleScriptErrorBriefMessage = "Not authorized to send Apple events to FStream.";
NSAppleScriptErrorMessage = "Not authorized to send Apple events to FStream.";
NSAppleScriptErrorNumber = "-1743";

I am pretty sure this is because Alfred does not have "Automation" permissions in Security & Privacy.


Alfred has the following permissions enabled:



Full Disk Access


However macOS is never prompting me to provide permission for "Automation".


I have tried the following resolutions:

- Delete & reinstall Alfred app (v4.0.8)

- Reset permissions via `sudo tccutil reset All`


Nothing works. macOS will correctly request permission for other apps and also for Alfred for Contacts/Accessibility etc. But never for Automation.

As such I am unable to run AppleScript workflows.


Here is the AppleScript workflow source:


on alfred_script(q)
tell application "FStream"
	if (status) is greater than 0 then
	end if
end tell
end alfred_script



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...