メッセージアプリを使用してiMessageのユーザーにメッセージを直接送信する方法を教えてもらえますか?提供されたサービスでのみ、AppleScriptでimessageテキストを送信するには?
tell application "Messages"
if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 1
if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 2
if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 3
send "Message" to buddy "mail of name" of service x
end tell
Googleトーク、AIM、bonjourではなく、iMessage経由でアカウントにメッセージを送信する必要があります。 ありがとうございました!
注:iMessage **あなたは**できません! – fabian789
@ fabian789ヒントをありがとう。この制限を回避する方法を知っていますか? iMessageを自分で(Messages.appから手動で)送信できるので、スクリプトでこれを行う方法はありませんか? – Chris
@Chrisいいえ、私はそれが可能だとは思わない – fabian789