I am trying to make a hotkey that will copy a file in Windows Explorer, flip to my open new draft email and attach it. I am going to assume that there will be zero or one new draft email windows open. If there are more than one, I'll just take one and hope it's the right one. This is an interactive process. My trouble is in writing an IfWinExist that can tell the difference between an open sent email window and an open new draft email window. How can I tell the difference? I'm using Outlook 2010 and AutoHotkey v1.1.12.00
Thanks for your help!