Guest tamirousmc77 Posted March 15, 2005 Share Posted March 15, 2005 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 comment Share on other sites More sharing options...
SlimShady Posted March 15, 2005 Share Posted March 15, 2005 Use FileOpen + FileWriteLine or only FileWriteLine. Link to comment Share on other sites More sharing options...
automagician Posted March 15, 2005 Share Posted March 15, 2005 (edited) Have you tried using: _FileWriteLog( $sLogPath, $sLogMsg ) This adds the date and time for you at the beginning of the line. Edited March 15, 2005 by automagician Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 15, 2005 Share Posted March 15, 2005 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 comment Share on other sites More sharing options...
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