【发布时间】:2023-01-22 14:26:22
【问题描述】:
所以我有这个 AppleScript
set filePath to (path to desktop as text) & "photo.png"
tell application "Messages"
set targetService to 1st account whose service type = iMessage
set targetBuddy to participant "+18005555555" of targetService
send file filePath to targetBuddy
end tell
以前工作过,但在 macOS 12 中它看起来像是在工作(见进度条)但最终超时并声明无法发送。
发送这个有更新吗?
【问题讨论】:
-
“信息”是否包含您与“+18005555555”之间预先存在的聊天记录?
-
@CJK 在我自己的测试中(与 OP 相同的问题),无论是否存在现有对话,问题都存在。
-
@Questionmark,这不是我问的原因。
标签: applescript message macos-monterey