|
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
zeghost
Joined: 25 Mar 2010 Posts: 1 Country: United States |
|
How to Send a string to a specific window name |
|
I am automating a report generated by an Excel macro. It runs fine until the macro tries to send the workbook to an e-mail address. Outlook pops a window up asking for the password.
What I need is a way to watch for the Window labeled "Enter Password", send the password as a string, and then the <Enter>" key.
Seems simple but I can't find an example in the forums that I can understand so the more detail the better. I have never used JAL but, if it is required for my solution, can figure it out with some help.
Thanks!
|
|
Thu Mar 25, 2010 1:48 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7849
|
|
|
|
If you are using JAL for that purpose, you can use WindowFind and then SendKeys to automate the password entry.
But generally speaking this is a bad idea. You should use SMTP interface and bypass Outlook completely.
|
|
Thu Mar 25, 2010 2:22 pm |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|