Close Outlook window when creating package

Here's a script to automatically close the Outlook window that pops up when creating a package after opening a new instance of Studio.

 

#IfWinActive ahk_exe SDLTradosStudio.exe


Loop

{

WinWait,Welcome to Microsoft Outlook 2016

WinClose,Welcome to Microsoft Outlook 2016

Send, y

}