Sign in to follow this  
Followers 0
mdwerne

Event Monitoring with AutoIt?

5 posts in this topic

Hello,

I was wondering if AutoIt has the ability to send an email or a page based on a specific event trigger? If so, are there any examples of emailing and event monitoring that I can look at?

The event triggers I was thinking about are either monitoring for a window (based on the title) to popup or if possible, have the Autoit script read a log file at a set interval (every minute), if say the last line of the log file matched a certian case, then AutoIt would copy the last line and email or send it via a page (pager).

Does all this make sense?

Again, if there are any examples or functions that I should be looking at, please point me in that direction.

Thanks for your time,

-Mike

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Try using functions like: WinWait, WinWaitActive, WinWaitClose or WinExists. Search them in the helpfile for more details.

Edited by madflame991

Share this post


Link to post
Share on other sites

Try using functions like: WinWait, WinWaitActive, WinWaitClose or WinExists. Search them in the helpfile for more details.

Thank you!!

I will look at those. I also just located this posting on an smtp mailer:

http://www.autoitscript.com/forum/index.ph...CSMtp+Mailer%5C

I will see what I can gleen from looking at its code.

-Mike

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0