Code_Man652 0 Posted March 23, 2005 How would I have a macro search through a log such as C:\Text.txt and if it were to see something inside the log such as "yellow" it would then imput a 7? Share this post Link to post Share on other sites
redndahead 0 Posted March 23, 2005 Look at the windows command line option "FIND" the options there will help you Something like RunWait(@Comspec & ' /c Find /c "yellow" C:\Text.txt > C:\output.txt,'',@SW_HIDE) Then read the output file to see how many were found and then if found input 7. red Share this post Link to post Share on other sites