Reputation: 1865
I want to create an apple script that opens terminal and summons this command : sudo killall coreaudiod
How is this possible?
Upvotes: 12
Views: 22336
Reputation: 50089
do shell script "sudo killall coreaudiod" with administrator privileges
the user gets asked for the password then
Upvotes: 24