![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to be able to hook into the process of Outlook when the user clicks the "New" button for a new email. Ultimately I want to dynamically manipulate the signature file that gets loaded into the new message body. Would this be accomplished via an add-in or otherwise? Thanks folks... - fd |
#3
| |||
| |||
|
Since you posted in a VSTO group you would use a VSTO COM addin ![]() Of course you can use any other type of addin (managed or unmanaged code), or even Outlook VBA code if you don't plan to deploy the code. You would get your hook into the item in the Inspectors.NewInspector() event (an Inspector is the window that opens when you open any Outlook item). The item in the Inspector is Inspector.CurrentItem, but don't try to do much with it until the first Inspector.Activate() event, especially in Outlook 2007 where that reference is a weak object reference good for not much more than testing Inspector.CurrentItem.Class or .MessageClass until the first Inspector.Activate() fires. -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm "forest demon" <mete.ha... (AT) gmail (DOT) com> wrote in message news:8215b620-b7d9-48dc-b190-e02608dd3a1e (AT) a3g2000prm (DOT) googlegroups.com... I want to be able to hook into the process of Outlook when the user clicks the "New" button for a new email. Ultimately I want to dynamically manipulate the signature file that gets loaded into the new message body. Would this be accomplished via an add-in or otherwise? Thanks folks... - fd- Hide quoted text - - Show quoted text - |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |