質問

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

How is this possible?

役に立ちましたか?

解決

do shell script "sudo killall coreaudiod" with administrator privileges

the user gets asked for the password then

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top