shivan82 Posted January 12, 2007 Share Posted January 12, 2007 How would I do this? Link to comment Share on other sites More sharing options...
therks Posted January 12, 2007 Share Posted January 12, 2007 Magic! My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
xcal Posted January 12, 2007 Share Posted January 12, 2007 FileRead and possibly StringInStr type magic. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
therks Posted January 12, 2007 Share Posted January 12, 2007 I prefer the hocus pocus kind. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
shivan82 Posted January 15, 2007 Author Share Posted January 15, 2007 Could someone post a few lines of code as an example? Just a simple open X file and search for "Y" text. Link to comment Share on other sites More sharing options...
seandisanti Posted January 15, 2007 Share Posted January 15, 2007 Could someone post a few lines of code as an example? Just a simple open X file and search for "Y" text.it would be something like this: $Contents = FileRead("c:\log.txt") $location = StringInStr($contents,"Y") If $location Then MsgBox(0,"Found","The search string is in the log") Link to comment Share on other sites More sharing options...
shivan82 Posted January 15, 2007 Author Share Posted January 15, 2007 Thanks!! Link to comment Share on other sites More sharing options...
seandisanti Posted January 15, 2007 Share Posted January 15, 2007 Thanks!! no problem, glad to help 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