【问题标题】:applescript send SMS messageapplescript 发送短信
【发布时间】:2019-04-24 10:31:24
【问题描述】:

我正在尝试通过 macos 消息应用程序使用 applescript 发送新消息。

on run {targetBuddyPhone, targetMessage}
    tell application "Messages"
        send targetMessage to buddy targetBuddyPhone of service "SMS"
    end tell
end run

上面的脚本运行良好,条件是消息应用程序中已经为特定的 targetBuddyPhone 启动了对话。任何想法如何发送新消息?.. 我不敢相信这是不可能的。

【问题讨论】:

  • 很遗憾,事实并非如此。

标签: macos applescript sms message


【解决方案1】:

可以以这种形式从 Apple Script 调用 URL:

sms://open?addresses=+15558675309,+15558675301/&body=Text%20Here%20end!

它不会发送消息,而只是预填充它,用户需要按 Enter 键。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-06-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多