0

现在我有一个简单的小 AppleScript,它将获取当前选定的消息并为该消息打开一个回复窗口。

我这样做是为了消除回复中的默认签名。出于某种原因,Outlook 2011 没有排除回复签名的选项,但使用此脚本可以关闭签名。

这是我的脚本:

tell application "Microsoft Outlook"
    set replyMessage to selection
    set replyMessageSubj to subject of replyMessage
    reply to replyMessage
end tell

tell application "Finder" to activate (every window whose name is "Re: " & replyMessageSubj)

这会打开重播窗口并为我激活它。效果很好,但我想让它全部回复,而不仅仅是回复。

Outlook 2011 的字典说:

reply to v : Create a reply message.
reply to message : The message to reply to.
[opening window boolean] : Should the reply message be opened in a window? Default is to show the window.
[reply to all boolean] : Whether to reply to all recipients of the message. Default it to reply to the sender only.
→ message : The reply message.

我有点 AppleScript 新手,找不到一个很好的例子......我如何让这个回复所有?

4

1 回答 1

0

尝试:

tell application "Microsoft Outlook"
    set replyMessage to selection
    set replyMessageSubj to subject of replyMessage
    reply to replyMessage with opening window and reply to all
end tell
于 2013-04-09T18:55:11.093 回答