Jump to content

Help with Create/Write Log file


Recommended Posts

Guest tamirousmc77

I have reviewed basic samples and the help file to do this. I am pretty new to autoit but I understand the logic and concepts. I also have some background with NT and VB scripting but it is limited. My main problem is I need to create a log file and write specific information to it. When I use the macros for time and date all I receive it the actual macro word (@MON). Also I plan on putting text found within a windowbox into a variable and writing that to a line in the log file. Anyone help out? This is something I need quick help with! :)

Link to post
Share on other sites

Have you tried using:

_FileWriteLog( $sLogPath, $sLogMsg )

This adds the date and time for you at the beginning of the line.

<{POST_SNAPBACK}>

Need to put #include <file.au3> at the beginning of your script to include this functionality.

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...