Fikus Posted June 8, 2005 Report Share Posted June 8, 2005 Hi all, I am new to the whole macro world and in fact I have only been using the software for a day or so but I have made some fairly amazing macros using the software. I have made a auto log in for any employee who has a USB Flash Drive. But that is not what I have the question about. I am trying to make my job more automated because most of my job requires repetative data inputs. So here is the question. How do I get the macros to read a file with multiple lines of numbers and copy the first line to the clipboard then after it copies to the desired file it will return to the original file and copy the next line and so on until there are no more lines to copy of the original file? Remember I am very new at all of this so my knowlege of all the code is very basic. I have read the forums and I either did not see anything that resembled my request or I didnt understand it. Any help would be awesome. thanks. Quote Link to comment Share on other sites More sharing options...
cyberchief Posted June 8, 2005 Report Share Posted June 8, 2005 Welcome Fikus! There is a fantastic tutorial that is available in ME that will show you how to do exactly this. Go to the Help file in ME. Click on the Contents Tab. Then expand the Tutorial file. Go down to "Advanced - Copy and Paste Routine". This sounds to be exactly what you are looking for. If you have any questions or if this does not make it clear... please post back! Quote Link to comment Share on other sites More sharing options...
Fikus Posted June 8, 2005 Author Report Share Posted June 8, 2005 LOL Thanks I searched through so many help files but I didnt look at the right one. I will check it out and let you know. Quote Link to comment Share on other sites More sharing options...
Fikus Posted June 8, 2005 Author Report Share Posted June 8, 2005 I think this is worth saying.. I was making the macros far more hard then they need to be. Using my programming history with java and such I was trying to find a way to read the file insted of using simple <SHIFT><END> and <HOME><DOWN> sort of keys. For anyone who is having a hard time with macros I strongly recomend just forgetting all previous knowledge and think simple. Quote Link to comment Share on other sites More sharing options...
randallc Posted June 10, 2005 Report Share Posted June 10, 2005 Hi, I imagine the fastest and best way with a text file is to use the Text File process command; in a loop from begin to end process. I am not sure that you found that in your search? Randall Text File Process1 I have used it in; Text File Picker for instance.... Best, randall 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.