Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Behaviour of Outlook Send Button
#1
Hi
I would like to change the behaviour of the email Send button in Outlook 2003 and Outlook 2007.
I would like to prompt for a folder to save the message in after it is sent.

My simple function below is triggered when the Outlook 2007 edit-email Send button is clicked or the Alt-S accelerator key is pressed.
However, the default Outlook send action is also triggered.
Can I prevent the default behaviour of the Send button happening?

Thanks,
John

Function test2
Trigger $a 133 -4 "" "Button" "" "&Send" "rctrl_renwnd32"     Help - how to add the trigger to the macro
Code:
Copy      Help
function hwnd idObject idChild
;Acc a.ObjectFromEvent(hwnd idObject idChild)

str winExe.getwinexe(hwnd)
out "Send button: %s" winExe

ret


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)