Jump to content

Recommended Posts

Posted

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

 

Posted

Hey thank you for your reply i just need a Script that can control this Window 

113110

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

Posted

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

 

Posted

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

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