AutoitMike Posted February 7, 2011 Share Posted February 7, 2011 I am attempting to automate sending an e-mail on a web based exchange server with multiple attachments (usually 2 to 3 attachments). My script gets the first file name from a "My Computer Explorer" window (I am sending all files in the selected folder) Activates the window "Microsoft Outlook Web Access" , Starts up a new e-mail, clicks the "Attachments" button after waiting for the "Untitled -- Message" window to exist. and waits for the "Attachments window to open up. It then enters the path / file name , attaches the file and closes the attachments window (It has too be closed, its the only way to know that the files is done attaching, the "Close" button is greyed out while uploading). It then goes back to the "My Computer Explorer" window , arows down to the next file and gets the file name. The very next line of code is WinActivate("Untitled -- Message"), the window exists, but it is not activated. Any help would be greatly appreciated. BTW, The "FileOpenDialog" "init dir" will not go to anything except for "Windows" , if you enter "C:\Temp" , the init directory is "Windows", even if "C:\Temp" exists. Thanks Link to comment Share on other sites More sharing options...
GEOSoft Posted February 7, 2011 Share Posted February 7, 2011 Hi Mike and welcome to the forums. In order to assist you we will have to see at least the relevant portion of your code. The FileOpenDialog() issue would appear to be a parameter in the wrong location but there is no way of knowing until we see how you called it. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now