12

I want to create an apple script that opens terminal and summons this command : sudo killall coreaudiod

How is this possible?

1 Answer 1

24

do shell script "sudo killall coreaudiod" with administrator privileges

the user gets asked for the password then

Sign up to request clarification or add additional context in comments.

3 Comments

Create a Run AppleScript or Run Shell Script ?
automator could run the shell script directly though ;)
Can you check this please, it's related to your answer apple.stackexchange.com/questions/105150/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.