Tsel Posted November 17, 2010 Share Posted November 17, 2010 Hello all, Just started using AutoIt. I am looking for a way to get information from two files, numbers.txt and names.txt and putting that information into variables which then will go into a for or while loop, the plan would be for the script to cycle through those files taking the information one entry at a time in a descending order and when the loop finishes then goes and grabs the next entry in the lists and so on. The loop would then stop if there are no more entries to grab in the files. Any idea? help? point me on the right track? There are going to be hundreds of entries on the files. Thanks for your time and help. Link to comment Share on other sites More sharing options...
wakillon Posted November 17, 2010 Share Posted November 17, 2010 Hello all,Just started using AutoIt. I am looking for a way to get information from two files, numbers.txt and names.txt and putting that information into variables which then will go into a for or while loop, the plan would be for the script to cycle through those files taking the information one entry at a time in a descending order and when the loop finishes then goes and grabs the next entry in the lists and so on. The loop would then stop if there are no more entries to grab in the files. Any idea? help? point me on the right track?There are going to be hundreds of entries on the files.Thanks for your time and help.Welcolme to the forum ! You can try with the _FileReadToArray function, see the helpfile ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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