建立关键词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输入关键词和短信内容就可以了。
建立关键词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输入关键词和短信内容就可以了。