Gui, Add, Button, x42 y119 w130 h60 , 중지
Gui, Add, Button, x42 y199 w130 h60 , 종료
; Generated using SmartGUI Creator for SciTE
Gui, Show, w218 h305, TW
return
GuiClose:
ExitApp
;----------------------------------------------
8::
9::Pause
0::ExitApp
CoordMode,Mouse,Screen
loop
{
send, {F7 down}
sleep, 300
send, {F7 up}
sleep, 300
send, {F8 down}
sleep, 300
send, {F8 up}
sleep, 300
send, {F9 down}
sleep, 300
send, {F9 up}
sleep, 300
send, {F10 down}
sleep, 300
send, {F10 up}
sleep, 300
send, {F11 down}
sleep, 300
send, {F11 up}
sleep, 300
send, {F12 down}
sleep, 300
send, {F12 up}
sleep, 300
send, {F5 down}
sleep, 300
MouseClick, right,
Sleep, 300
send, {F5 up}
sleep, 300
send, {F6 down}
sleep, 300
MouseClick, right,
Sleep, 300
send, {F6 up}
sleep, 300
send, {F2 down}
sleep, 100
send, {F2 up}
sleep, 100
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {F4 down}
sleep, 100
send, {F4 up}
sleep, 100
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {F4 down}
sleep, 100
send, {F4 up}
sleep, 100
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {F4 down}
sleep, 100
send, {F4 up}
sleep, 100
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {tab down}
sleep, 100
send, {tab up}
sleep, 100
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
MouseClick, right,
Sleep, 500
send, {F3 down}
sleep, 100
send, {F3 up}
sleep, 100
send, {F4 down}
sleep, 100
send, {F4 up}
sleep, 100
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
send, {w down}
sleep, 1000
send, {w up}
sleep, 1000
}
return
;----------------------------------------------
8 또는 시작 버튼을 누르면 시작
9 또는 정지 버튼을 누르면 정지
0 또는 종료 버튼을 누르면 종료
가 되는 단순한 매크로를 만들려는 자꾸 오류가 뜨는데 무엇이 문제일까요?
https://i.imgur.com/24T0UZRs.jpg
제가 함해보고 코드 올려볼게용