-1
用命令:(MAC)终端确定运行命令
osascript -e 'tell app "System Events" to display dialog "Press ok to run command"'
是否有可能当你按下“OK”将运行命令?
用命令:(MAC)终端确定运行命令
osascript -e 'tell app "System Events" to display dialog "Press ok to run command"'
是否有可能当你按下“OK”将运行命令?
是的,它的基本的bash脚本,添加要运行&&
加上命令:
osascript -e 'tell app "System Events" to display dialog "Press ok to run command"' && echo "run it"
取代echo "run it"
用命令你需要
THX!您的帮助! – Jelle