https://www.youtube.com/watch?v=EAe0o8eJsoI

Here is the code:
Quote
SetDefaultMouseSpeed 0
~^F9::ExitApp

#IfWinActive, DOS EE

`:: ;grind
KeyWait ``
BlockInput, on
mousegetpos,x,y
MouseClick, left
MouseClick, left,1200,785
mousemove,x,y
BlockInput, off
return

f4:: ;save new slot
KeyWait f4
BlockInput, on
mousegetpos,x,y
SendInput {vk1b down}{vk1b up} ;esc
sleep 100
MouseClick, left,1000,430 ;save
sleep 200
SendInput {SC150 down}{SC150 up} ;down
SendInput {SC148 down}{SC148 up} ;up
sleep 200
SendInput {SC11c down}{SC11c up} ;num_enter
sleep 100
SendInput {SC11c down}{SC11c up} ;num_enter
mousemove,x,y
BlockInput, off
sleep 2000
return

g::
KeyWait g
item_move(100,100) ;to char1
return

item_move(charX,charY)
{
BlockInput, on
mousegetpos,x,y
x1:=x
delay:=40
while x<910
{
MouseClick, left,x,y,,,D ;item
MouseClick, left,charX,charY,,,U ;char
sleep delay
x:=x+56
}
mousemove,x1,y
BlockInput, off
return
}

Last edited by Kokkolar; 18/07/17 06:45 PM.