Vier Posted January 20, 2006 Share Posted January 20, 2006 In my script I'm use 2 external programs wich create logfile during processing. I would like to read the logfile with each change and to send it towards my script Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 20, 2006 Moderators Share Posted January 20, 2006 Look at: FileOpen FileClose FileRead FileReadLine _FileReadToArray _FileCountLines In the help file... Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vier Posted January 20, 2006 Author Share Posted January 20, 2006 I know this command (FileOpen...), but how to use it for my problem ? I have a base : $i_Pid = Run($RunString, "", @SW_HIDE) While ProcessExists($i_Pid) WEnd During $i_Pid a logfile create by $RunString has create. This logfile contain the information of processing. The logfile change during the processing and I want send this change in GUICtrlCreateEdit ! Link to comment Share on other sites More sharing options...
BigDod Posted January 20, 2006 Share Posted January 20, 2006 I know this command (FileOpen...), but how to use it for my problem ?I have a base :$i_Pid = Run($RunString, "", @SW_HIDE)While ProcessExists($i_Pid) WEndDuring $i_Pid a logfile create by $RunString has create. This logfile contain the information of processing. The logfile change during the processing and I want send this change in GUICtrlCreateEdit !Post your code and you may get a more precise answer. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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