Mouse Move Window 40, 704
Delay 100 Milliseconds
Mouse Left Button Down
Activate Window. "Window name"
Mouse Move Window 39, 702
Delay 100 Milliseconds
Mouse Move Window 38, 699
Delay 100 Milliseconds
Mouse Move Window 37, 697
Delay 100 Milliseconds
Mouse Move Window 36, 695
Delay 100 Milliseconds
and so on, might be a hassle but can help in finding the cause to the problem and then being able to speed it up.