If you're using Windows 7 (I don't know if it works on any other OS) this should work:
Code:
;Deposit all Items by pressing l
S = 16 ;Speed of the mouse cursor
l::
X1 = 645
Y1 = 450
X2 = 645
Y2 = 575
MouseGetPos, mX, mY
Loop, 4{
MouseClickDrag, L, X1, Y1, X2, Y2, S
X1 := X1+45
X2 := X2+45
}
X1 = 645
Y1 = 490
X2 = 645
Y2 = 620
Loop, 4{
MouseClickDrag, L, X1, Y1, X2, Y2, S
X1 := X1+45
X2 := X2+45
}
MouseMove, mX, mY
return
Create a new AHK file and copy&paste this code in, you might want to change the speed of the mouse cursor (0 is instant and 100 is the slowest), as (depending on your PC) the items won't get moved if the cursor moves to fast! If you wan't to change the Hotkey change "l::" to whatever you want (for example "k::")
This only works if the size of the Flash Player-window is 816x658 so here's a little sript to center and resize the window:
Code:
;Center & resize the window by pressing Shift+0
+0::
WinMove, Adobe Flash Player 11,, (A_ScreenWidth-816)/2, (A_ScreenHeight-658)/2, 816, 658
return
You'll have to change "Adobe Flash Player 11" to the title of your Flash Player-window (If you're using a different FP version or sth like that).
Btw: I made this myself so please give credit to me if you're going to post this somewhere else!