alfred3 发送imessage
2017-02-13 本文已影响14人
鸭梨山大哎
建立关键词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输入关键词和短信内容就可以了。