joemahoney Posted June 9, 2019 Posted June 9, 2019 hey, i want to upload a file multiple times at the same time so i writed my first autoit script. While 1 WinWait("Open","","") Send("C:/PATH TO FILE") Send("{ENTER}") WEnd but it only works for the single foreground window not for the others. can you guys please share me an example how to get it work for all windows with the name "open" no matter if the windows are in background or foreground thank you
faustf Posted June 9, 2019 Posted June 9, 2019 give us an example , you want uplod where??? explain much better
joemahoney Posted June 9, 2019 Author Posted June 9, 2019 Hey thank you for your reply i just need a Script that can control this Window Add the path to my file which i want to upload and press enter to actually Upload the file. My above script do exactly this but it doesnt work if Multiple "choose file to upload" Windows are open...
Earthshine Posted June 9, 2019 Posted June 9, 2019 look up the windows process stuff in the help file. use a loop to access each window with the same name, or whatever. My resources are limited. You must ask the right questions
joemahoney Posted June 9, 2019 Author Posted June 9, 2019 Can you please give me a Code example ? Thank you
FrancescoDiMuro Posted June 9, 2019 Posted June 9, 2019 @joemahoney Since seems that you are trying to upload some files with Internet Explorer, did you look at IE UDF too? Can you see the HTML code about that website? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
faustf Posted June 10, 2019 Posted June 10, 2019 you must use 2 script because when first script , open choose file upload , the script go in pause , for resolve this "problem" before open file upload ( in first script ), you must run a second script (just compiled) good luck
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