Outlook 2011 Resend Workaround

Jan 05, '11 07:30:00AM

Contributed by: tbuddy

One of the first features missing when moving from Entourage to Outlook was the absence of the Resend function in the message pulldown. Until it gets added into the full product the AppleScript below is a nice workaround. It will duplicate the message with attachments and recipients.

Here's the script. Paste it into the AppleScript Editor and save it to ~/Library/Scripts/ so it will appear in the Scripts menu.

-- Resend Message v1.0 (2010-10-27)
-- an applescript by Barry Wainwright 
-- Restores the 'Resend' function that was in Entourage but never made it to Outlook
-- when the script is run, with a sent message selected or open, a new copy of the 
--    message will be created, with all the original recipients and attachements and 
--    from the correct sending account.
-- This script released under a Creative Commons Attribution, NonCommercial, ShareAlike 2.0 England & Wales License.
-- see  for full details

tell application "Microsoft Outlook"
  try
    set theMessage to item 1 of (get current messages)
    if not («class wSnt» of theMessage) then error -98
  on error
    display dialog "This script acts only on already sent messages. Please select a sent message and run the script again." buttons {"Abort"} default button 1
    return -99
  end try
  set theSource to source of theMessage
  set theAccount to account of theMessage
  set newmessage to make new outgoing message with properties {account:theAccount, source:theSource}
  open newmessage
end tell
The source of the AppleScript is here.

[crarko adds: I haven't tested this one. I see the script refers to Microsoft Entourage. That may be a backwards compatibility feature in Outlook or you may have to change the script to say tell application "Microsoft Outlook" instead. Let me know if that is the case and I will correct the script.

I have corrected the script.]

Comments (11)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20110104062432418