Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Outlook 2011 Resend Workaround Apps
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.]
    •    
  • Currently 4.25 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[14,012 views]  

Outlook 2011 Resend Workaround | 11 comments | Create New Account
Click here to return to the 'Outlook 2011 Resend Workaround' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Outlook 2011 Resend Workaround
Authored by: ButchAnton on Jan 05, '11 08:57:31AM

That should be "Microsoft Outlook" instead of Entourage:


tell application "Microsoft Outlook"



[ Reply to This | # ]
Outlook 2011 Resend Workaround
Authored by: j.koopmann on Jan 05, '11 09:09:07AM

Well the script at the download location says tell application "Microsoft Outlook"... That seems to work here however I had to put it in ~/Documents/Microsoft-Benutzerdaten/Outlook Script Menu Items in order to make it work. "Microsoft-Benutzerdaten" probably is "Microsoft User Data" for international versions.



[ Reply to This | # ]
Outlook 2011 Resend Workaround
Authored by: mike_savory on Jan 05, '11 09:25:52AM

Outlook shares the same background AppleEvent identifier, so the Tell App "Microsoft Outlook" is the same as Tell App "Microsoft Entourage". This means all your Entourage scripts get silently upgraded to run Outlook, but then they fail, because of Outlook's limited and broken scripting.



[ Reply to This | # ]
Outlook 2011 Resend Workaround
Authored by: maged on Jan 06, '11 01:00:53AM

Thanks for this; works well.

I confirm that it should be:
tell application "Microsoft Outlook"
If you leave it as "Entourage" it seems it will work if you've ever had Entourage installed. If not (like my case), when you save the script, you will be prompted to find the application "Microsoft Entourage" at which point you would point it to Outlook and then the script will be updated to Outlook instead of Entourage.
So to keep things simple, it should just be "Microsoft Outlook" from the start

I also put it in ~/Documents/Microsoft User Data/Outlook Script Menu Items/ as that it where the Applescript items for Outlook are stored.



[ Reply to This | # ]
Outlook 2011 Resend Workaround
Authored by: crarko on Jan 06, '11 05:00:21AM

OK, I've adjusted the script to use "Microsoft Outlook" instead, for future compatibility.



[ Reply to This | # ]
Outlook 2011 Resend Workaround - Authors comment
Authored by: Barryw on Jan 10, '11 12:05:06AM

Hi,
As the author of the script, i can confirm that it was written for Microsoft Outlook, and the version on my web page was saved with a 'tell application "Microsoft Outlook"' command.
If people are seeing a reference to Microsoft Entourage, this is because Oultook and Entourage share the same application reference, and it is by reference that compiled scripts identify applications. They have almost certainly opened the script on a system that has Entourage installed (it was NOT installed on the system I wrote the script on!), and the script has been decompiled for display. Since the application reference in the script could point to eier Entoruage or Outlook I believe that by default, the system will select the first installed matching application - almost certainly Entourage.
If you do suffer from this problem, simply change the word Entourage to Outlook, and all should be well.
Barryw



[ Reply to This | # ]
Outlook 2011 Resend Workaround - Authors comment
Authored by: tbuddy on Jan 10, '11 12:24:09PM

Great script. It was one of the first things I missed in Outlook when I got it, naturally when I saw the call for Microsoft Office for Mac it was the first thing I thought of. Thanks again for publishing it.



[ Reply to This | # ]
Outlook 2011 Resend Workaround - Authors comment
Authored by: jim44314 on Apr 05, '11 01:13:46PM

I installed the script a few months ago and it worked great. Recently, when I run the script from the script menu, I get the error message "This script acts only on already sent messages. Please select a sent message and run the script again." I am selecting messages from the sent folder. When I run the script from the script editor, it works perfectly. I recently installed Adblock Plus and reverted to older versions of Firefox and Google Toolbar.



[ Reply to This | # ]
Outlook 2011 Resend Workaround
Authored by: ohms on Jan 17, '11 03:12:33PM

I tried this script and it is great! But the only thing is, if I select multiple messages it only pops-up the most recent sent message. I'm a newbie to scripts, but is there a way to make this work like it does in Entourage (i.e. I select 10 messages, hit re-send, and then all 10 emails pop-up and I can hit send button for each email from there?) This would be extremely helpful.

-o



[ Reply to This | # ]
PLACE IN CORRECT FOLDER THOUGH, Outlook 2011 Resend Workaround
Authored by: Qrysta on Feb 19, '11 11:53:50AM

This is wonderful except The folder to Save in is incorrect. Outlook tells you to add a script the file must be placed within the program's own Scripts folder. If you click ABOUT THIS MENU under the Outllook Scripts menu icon it shows the correct path. Once I moved the script it worked beautifully. So appreciative. This is only my second successful attempt at using the SE since 1987! I'm gleeful.



[ Reply to This | # ]
Outlook 2011 Resend Workaround
Authored by: rnld on May 06, '11 01:30:06PM

I have been successful by dragged the sent email into the drafts folder.

Pretty simple and the email can be edited and the recipients changed.



[ Reply to This | # ]