I have written this script that promps a window where I can choose a folder.
Then the webpage is opened in chrome and the upload button is pressed. Finally it opens the file selector dialog. This is repeated the same amount of times as the amount of files in the folder.
However, I'm getting stuck at the part where the script should input each file path in the dialog window.
Here's what I got for now:
Code: Select all
#+F1::
FileSelectFolder, WhichFolder ; Pick a folder.
Loop, Files, %WhichFolder%\*.*
{
Run, chrome.exe "https www.videoindexer.ai " Broken Link for safety
sleep, 3000
Send {Tab 7}
Send {Enter}
sleep, 500
Send {Tab 5}
Send {Enter}
sleep, 100
SendInput, %A_LoopFileFullPath%
Send {Enter}
}
return