美文网首页Alfred
alfred3 发送imessage

alfred3 发送imessage

作者: 鸭梨山大哎 | 来源:发表于2017-02-13 15:27 被阅读14次

    建立关键词trigger

    Paste_Image.png

    代码如下

    on alfred_script(q)
    
    tell application "Messages"
    
    set myid to get id of first service
    
    set theBuddy to buddy "对方的imessage账号" of service id myid
    
    send q to theBuddy
    
    end tell
    
    end alfred_script
    

    使用时激活Alfred输入关键词和短信内容就可以了。

    相关文章

      网友评论

        本文标题:alfred3 发送imessage

        本文链接:https://www.haomeiwen.com/subject/qwftwttx.html