【发布时间】:2017-05-31 16:48:32
【问题描述】:
基本上,我想在终端的弹出警报提示中添加一个图标。代码如下:
osascript -e 'tell app "System Events" to text returned of (display dialog "Enter Text: " default answer "")'
举个例子,当系统提示您输入密码窗口时,窗口中有一个锁定图标。谢谢!
【问题讨论】:
标签: macos command-line terminal