Jump to content

Recommended Posts

Posted

Hi

I want autoit to search for a filename in a folder, but the filename in my situation is always changing, however logged in a notepad file.

What I did before the filename was changing, was opening a folder, then with Send("apple") and Send("{ENTER}") it would load the file called "apple".
But now the filename is always changing, and I want autoit to search for the right filename.

The right filename is always stored in for instance a Notepad or Excel file on the first row (this might not always be the case, but that's something I have to fix later on).
I know I can simply copy the name, but with paste I cannot search in a folder. I need to send the filename keys to make it really search.

Send("Alwaysthesametext")
to:
Send( pick up whatever is the first line from notepad and send that somewhere else)

Any suggestions?

Kind regards,

Igor

Posted

Post a sample of the data file containing the name. As well as some code example of what you have tried (inside code tags).

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...