SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
How to Send a string to a specific window name

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
How to Send a string to a specific window name
Author Message
zeghost



Joined: 25 Mar 2010
Posts: 1
Country: United States

Post How to Send a string to a specific window name Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6500

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.