【问题标题】:messages - AppleScript send image on macOS 12消息 - AppleScript 在 macOS 12 上发送图像
【发布时间】: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


【解决方案1】:

我有同样的问题你找到修复了吗?

【讨论】:

    猜你喜欢
    • 2015-09-02
    • 2023-01-13
    • 2012-03-08
    • 1970-01-01
    • 1970-01-01
    • 2011-05-11
    • 2013-03-04
    • 2018-06-26
    • 2012-05-25
    相关资源
    最近更新 更多