Tente isso (script AHK):
; The #If directive creates context-sensitive hotkeys:
#If (WinActive("ahk_exe outlook.exe") && WinExist("ahk_exe firefox.exe")) ; "&&" means "and"
; Ctrl+D:
^d::
MsgBox, 4,, Are you sure you want to send Ctrl+D to Outlook'nwhile FireFox exists?
IfMsgBox Yes
Send, {Ctrl Down}d{Ctrl Up}
return
#If ; turn off context sensitivity
link
Use o Window Spy para descobrir o ahk_exe exato da janela do Outlook (pode ser diferente se você tiver outro pacote do MS Office).