shivan82 Posted January 8, 2007 Posted January 8, 2007 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
PaulIA Posted January 8, 2007 Posted January 8, 2007 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 IvanThe 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
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