我正在尝试从命令行使用 AppleScript 读取字符串。
我有以下脚本:
on run prompt set theResponse to display dialog prompt default answer "" --> {text:"Jen"} return (text of theResponse) end run
这似乎工作正常但输出是“OK,你好”。我想去掉这个 OK,只打印一个脚本。