How to create an Apple Script that runs a Terminal command?

后端 未结 1 586
北荒
北荒 2021-02-13 21:21

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

How is this possible?

相关标签:
1条回答
  • 2021-02-13 22:16

    do shell script "sudo killall coreaudiod" with administrator privileges

    the user gets asked for the password then

    0 讨论(0)
提交回复
热议问题