如何将字符串记录/回显到 AppleScript 脚本编辑器中的结果窗格?

How to log / echo a string to the Result pane in the AppleScript Script Editor?

如何使用 AppleScript 将字符串记录到脚本编辑器 window 的 Result 窗格中?我试过了,但它什么也没显示:

log "my log message"

您需要查看 > 显示日志 ⌘3

日志消息将显示在消息事件回复窗格中.