mpcluever Posted April 15, 2008 Posted April 15, 2008 I have a script that opens command line ftp windows to transfer files. I have it set to open 6 at a time and wait for the last to close before opening another 6. Is it possible to detect that there are now only 5 open and open 1 to replace it to keep 6 open at all times?
PsaltyDS Posted April 15, 2008 Posted April 15, 2008 I have a script that opens command line ftp windows to transfer files. I have it set to open 6 at a time and wait for the last to close before opening another 6. Is it possible to detect that there are now only 5 open and open 1 to replace it to keep 6 open at all times?Use WinList() to list them, and operate on them using handles instead of title/text. The handle is always unique and doesn't change over the life of the window. Title/Text can be duplicates and can change. Stick with the handles wherever possible. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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