如何创建一个运行终端命令苹果脚本? [英] How to create an Apple Script that runs a Terminal command?
本文介绍了如何创建一个运行终端命令苹果脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要创建打开终端与传票此命令苹果脚本:须藤killall coreaudiod
I want to create an apple script that opens terminal and summons this command : sudo killall coreaudiod
这怎么可能呢?
推荐答案
做shell脚本命令killall coreaudiod以管理员权限
用户被要求输入密码,然后
the user gets asked for the password then
这篇关于如何创建一个运行终端命令苹果脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文