Autohotkey, 마우스 드래그
MouseClickDrag, WhichButton, startx, starty, endx, endy, Speed, Relative
간단설명)
MouseClickDrag, 어떤버튼을 누를건지(Left, Right...), 시작점X좌표, 시작점Y좌표, 끝점X좌표, 끝점Y좌표, 속도, 상대위치여부
속도는 0~100(0 : 빠름, 100 : 느림)
Relative에 R로 설정하면 시작 좌표에서 두번째 좌표까지의 거리로 이동(시작점X좌표에서 끝점X좌표픽셀만큼 이동)
MouseClickDrag - Syntax & Usage | AutoHotkey
The button to click: Left, Right, Middle (or just the first letter of each of these). Specify X1 for the fourth button and X2 for the fifth. For example: MouseClickDrag, X1, .... To compensate automatically for cases where the user has swapped the left and
www.autohotkey.com
예)
MouseClickDrag, Left, 100, 100, 223, 445, 20