【问题标题】:Send GIF from iMessage by AppleScript通过 AppleScript 从 iMessage 发送 GIF
【发布时间】:2019-03-31 00:28:57
【问题描述】:

我知道可以通过“告诉应用程序'消息'”从 AppleScript 发送文本消息,但是是否有一种方法可以通过任何 AppleScript 发送 GIF? 非常感谢...

【问题讨论】:

    标签: applescript imessage


    【解决方案1】:
    use application "Messages"
    
    set gif to POSIX file "/Users/CK/Pictures/giphy.gif"
    set [him] to buddies of service "E:someone@me.com" whose handle is "something"
    
    send the gif to him
    

    【讨论】:

    • 有什么方法可以让iMessage发送反馈?比如:已交付、已接收等...
    • 只是您在 Messages 应用程序中获得的常见反馈,该应用程序通常会在消息下方显示送达报告。
    • 我不知道如何从 AppleScript 获得反馈,你能给我一些演示代码吗?谢谢...
    • AppleScript 本身没有反馈。我所指的“通常反馈”是在 Mac 和 iPhone 上的 Messages 中收到的交付报告,当message is delivered 时,然后当它被阅读时。
    猜你喜欢
    • 2018-06-28
    • 2013-04-04
    • 2014-04-14
    • 1970-01-01
    • 2015-04-16
    • 1970-01-01
    • 2018-08-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多