osascript: can't open default scripting component.

Hello!


Sometimes after relogin after screen was blocked I am unable to execute osascript with "AppleScript" language with an active user, receiving an error 'osascript: can't open default scripting component.'. Running it with JavaScript language or with sudo are working fine. Logout and login doesn't solve a problem, only rebooting helps. It happens not so often but is pretty annoying.

macOS version is 10.15.2

MacBook Pro 15", macOS 10.15

Posted on Feb 13, 2020 2:21 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

osascript: can't open default scripting component.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.