Jump to content

Applescript in Alfred 4 problems

Recommended Posts

I had a workflow in Alfred 3 that opened the color picker; it worked in Alfred 3 but not in Alfred 4. 


It was a simple keyword 'col' to an applescript with this code


on alfred_script(q)
	choose color
end alfred_script

Now, when I run it, nothing happens. I debug the script, and I get:


[13:37:26.910] Color Picker[Keyword] Processing complete

[13:37:26.913] Color Picker[Keyword] Passing output '' to Run NSAppleScript


Is there some additional setting I need to use? 

Link to comment

Unless you know what you’re doing and that you need to use Run NSAppleScript, don’t. Use a Run Script with /usr/bin/osascript instead (the Run NSAppleScript points that out).


You’ll only need choose color as the full code. Does that work? If not, please post the full Workflow (i.e. upload it somewhere), so we can take a look. Also, what macOS and Alfred versions are you on?

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