Jump to content

Disha

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Disha

  1. it worked by replacing ControlClick("Open","","Button1") this after the EndFunc. Thank you very much @Luke94 and @Subz for helping me solve my query. you both made my day. Bless you both
  2. This works perfect, it passes the array string into the file name of win explorer but does not click on the open button, so the window does not close. could you please help me to look what could be the reason?
  3. How can i see the list of array i get, will ArrayDisplay($g_aFileList[$i] & @CRLF) this be useful? i tried but no luck
  4. Thank you very much sir, i tried to understand the code. but not sure how to send that array all together so that all the files get selected to upload. below is the screen shot that way i want to select. this is just 3 files which i can do with ControlSetText . but when its lets say 100 of files, i am unable to do code for that.
  5. Hi, I am new to AutoIt and i tried my best to find the solution. i have written the script for selecting a single file and uploading it, which is working fine with ControlSetText("Open","","Edit1","D:\multi\t1.tif") now i want to select all the file from the folder D:\multi, i have tried the below option but it does not work. ControlFocus(" Open "," ","Edit1" ) Global $files="",$appendquotes="",$j=2; IF $cmdLine[0]==1 then     $files=$CmdLine[1]  ElseIf $cmdLine[0] > 1 Then    For $i=1 to $cmdLine[1]        $appendquotes='"' & $CmdLine[$j] & '"';        $files=$files & " " & $appendquotes;        $j=$j+1;     Next EndIf ControlSetText("Open","","Edit1","D:\multi") Send( "^a" ) ControlClick("Open","","Button1")   sorry if the code is wrong, if anyone can help me it will means a lot to me. Thank you.
×
×
  • Create New...