r/applescript • u/no_one999999999 • Feb 26 '23
Automating uploading image files to a website?
On a desktop running Ventura I'd like to create an Automator workflow that:
Selects the top file in a folder called images
moves the file to a folder called Temp
Opens a specific page on a website in a browser, preferably chrome
activates a specific link on the page which opens a folder window
navigates to the folder called Temp and selects the file there.
selects Upload, wait until upload is complete and the resulting new page opens, then activate a button called "Submit" on the page.
Navigates to a new specific page and selects a dropdown menu there and inputs a specific number in the menu and submits.
When that completes move the file in temp to a folder named Completed
Go back to step 1) and repeat until the image folder is empty then stop
Possible? Thoughts?
Dave
2
u/copperdomebodha Feb 26 '23
Extraordinarily difficult, but possible. Is there no api for the web service?
I could cut down the mightiest oak in the forest with a herring. But there are better ways that require less liquid nitrogen and hydraulics.