Sign in to follow this  
Followers 0
shivan82

A3LEventLog.au3 help for a total newb

2 posts in this topic

Auto3lib has an include for managing the event log, I'm a newb to programming and the example script tells me little. I'm trying my make a simple script that will scan the event logs and email me error events. Could someone help me do this using Auto3lib, or anything else?

Thanks

Ivan

Share this post


Link to post
Share on other sites



Auto3lib has an include for managing the event log, I'm a newb to programming and the example script tells me little. I'm trying my make a simple script that will scan the event logs and email me error events. Could someone help me do this using Auto3lib, or anything else?

Thanks

Ivan

The example script provided with Auto3Lib prints out 50 events from the Application event log. All you need to do is remove this line:

if $iCount > 50 then $iCount = 50

and it will print out every event in the log. You simply need to replace the code that prints the event log to the console with code that sends you an email. There's tons of examples on this forum on how to do that. If you have further questions about Auto3Lib, please post them to the Auto3Lib thread in the Examples forum for the quickest response.


Auto3Lib: A library of over 1200 functions for AutoIt

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