Drag and drop selected files&folders to website

Hello,
I use a lot of file transfers via websites. I made buttons to launch browser windows for various transfer sites. Then I am supposed to drag and drop the selected files.

I feel I could save 2.8 seconds of Life each time I transfer if the script button would also drag and drop the files :))
I think it can be done with ahk or uipath.

I was wondering if there are any functions or scripts that could:

  • do this in whole as process
  • focus the mouse on the selected files (after clicking the button, the cursor hoovers the script, not the files)

Further more, I'm constantly using dual view, so I am never sure from which view I selected the files and OPUS gets resized and moved around the screen depending on monitor or workflow - thus I can't hack the mouse coordinates to guess where mouse pointer must be relocated.

I did observe that when files are selected and launching script the files remain highlighted.

If no solution in hand, I am curious what anyone thinks about it.

The launcher button I made says:

cd "C:\Program Files\Mozilla Firefox"
@async:"C:\Program Files\Mozilla Firefox\firefox.exe" https://www.myairbridge.com/en/#!/

I've already used ahk scripts which can click around like this

    CoordMode, Mouse, Screen
    MouseGetPos, StartX, StartY
    click, 3220, 192, 2    
    MouseMove, StartX, StartY

ahk usage for drag drop is simple
MouseClickDrag, Left, StartX, StartY, EndX, EndY

I guess I could use ahk entirly to perform this task, and bind a key shortcut, but OPUS button is so Seksy :slight_smile: