BMoscato Posted September 28, 2004 Report Share Posted September 28, 2004 Hey everyone, I'm new to Macro Express and I was curious if there is a way to use the "Process a Text File" variable to read through a dynamically updated log file and do tasks based on certain content (mostly last entry)? Regards, Bryan Moscato Quote Link to comment Share on other sites More sharing options...
joe Posted September 28, 2004 Report Share Posted September 28, 2004 Hello Bryan ... welcome to the forum! The Text File Begin Process command is made to do what you are asking. Within the process loop it takes the next line in a text file and places it in a text variable of your choosing. You only need to parse the variable to determine what to do, if anything. If you find that an action is to take place, then do that action. All of your commands to do an action are placed between the Text File Begin Process and Text File End Process command lines. In other words, inside the loop like so: Text File Begin Process If Variable contains an action Do stuff End If Text File End Process Quote Link to comment Share on other sites More sharing options...
BMoscato Posted September 28, 2004 Author Report Share Posted September 28, 2004 Thanks joe. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.