Jump to content

'Empty Trash' and 'Show Trash' system commands not working on macOS Monterey 12.1


saneef

Recommended Posts

Finally figured out the cause of the problem, and fixed!

 

Mac scripting with AppleScript (no problem with JS) was failing in my system. 

 

$ osascript -e 'tell app "Finder" to display dialog "Hello, World!"'
osascript: can't open default scripting component.

 

Then my search landed up on this post on reddit. Just like mentioned in that post an audio plugin was the cause!  🤦‍♂️ The plugin is installed since 2017. No idea, why the problem started now. 

 

I deleted the plugin. Everything started working! 

Edited by saneef
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...