Jump to content

Recommended Posts

Posted

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.

Posted

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 ! Posted Image

You can try with the _FileReadToArray function, see the helpfile !

AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0WIN 11 24H2 X64 - Other Examples Scripts

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...