建立关键词trigger
![](https://img.haomeiwen.com/i33455/671ffbe413df3ceb.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输入关键词和短信内容就可以了。
建立关键词trigger
代码如下
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
网友评论