Question

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

How is this possible?

Était-ce utile?

La solution

do shell script "sudo killall coreaudiod" with administrator privileges

the user gets asked for the password then

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top