활성화로 된 스크립트를 드디어 직접 짰는데요...

이걸 비활성화 하려면 어떻게 해야되는지 기본만 좀 알려주십셔... 명령어는 어떤게 있는데 어떤 기능이고 어떤 식으로 작성해야 한다 이런것 좀 부탁 드립니다.

시행착오는 스스로 하겠습니다..

인터넷에서 찾아보려니까 다들... 필요에 의해서 길게 늘어선 스크립트들만 공유해놨더라구요;;

애초에 사용 목적이 다르다보니... 뭘 어케해야할지 감도 안오고 그 기다란거 봐가면서 해석 하려니까 눈알이 빠질것 같아서요 ㅠㅠ 부탁 드립니다.

Ctrl::

SetTimer, a1, 1000
SetTimer, a2, 1500

bb:
{
Loop, 300
{
ImageSearch, vx, vy, 0,0, A_ScreenWidth, A_ScreenHeight, *40 cc.png
If Errorlevel = 0
{
vx:=vx+5
vy:=vy+5
Mouseclick, left, %vx%,%vy%
sleep, 8000
Loop, 2500
{
Send, {space}
sleep, 120
ImageSearch, vx, vy, 0,0, A_ScreenWidth, A_ScreenHeight, *70 dd.png
If Errorlevel = 0
{
Send, {u}
sleep, 200
Send, {a}
sleep, 2000
goto, bb
}
}
If Errorlevel = 1
{
}
}
If Errorlevel = 1
{
loop, 300
{
ImageSearch, vx, vy, 0,0, A_ScreenWidth, A_ScreenHeight, *40 ccb.png
If Errorlevel = 0
{
vx:=vx+5
vy:=vy+5
Mouseclick, left, %vx%,%vy%
sleep, 8000
Loop, 2500
{
Send, {space}
sleep, 120
ImageSearch, vx, vy, 0,0, A_ScreenWidth, A_ScreenHeight, *70 dd.png
If Errorlevel = 0
{
Send, {u}
sleep, 200
Send, {a}
sleep, 2000
goto, bb
}
}
}
If Errorlevel = 1
{
Random, A, 1,4
if ( A = 1)
{
loop, 6
{
Send, {Left}
sleep, 150
}
}
else if ( A = 2)
{
loop, 6
{
Send, {up}
sleep, 150
}
}
else if ( A = 3)
{
loop, 6
{
Send, {right}
sleep, 125
}
}
else if ( A = 4)
{
loop, 18
{
Send, {Down}
sleep, 125
}
}
}
}
}
}
}



a1:
{
Critical
ImageSearch, vx, vy, 0,0, A_ScreenWidth, A_ScreenHeight, *70 a1.png
If Errorlevel = 0
{
Send, {u}
sleep, 300
Send, {a}
sleep, 300
Send, {u}
sleep, 300
Send, {b}
sleep, 300
Send, {u}
sleep, 300
Send, {c}
sleep, 300
Send, {u}
sleep, 300
Send, {d}
sleep, 300
Send, {u}
sleep, 300
Send, {e}
sleep, 300
Send, {u}
sleep, 300
Send, {f}
}
IF ErrorLevel = 1
{
}
}

a2:
{
Critical
ImageSearch, vx, vy, 0,0, A_ScreenWidth, A_ScreenHeight, *70 a2.png
If Errorlevel = 0
{
Send, {u}
sleep, 200
send, {x}
sleep, 600
loop, 20
{
send, {Left}
sleep, 400
}
Send, {enter}
sleep, 400
Send, I'll destroy all olaf
sleep, 300
Send, {enter}
sleep, 400
Send, {left}
sleep, 400
Send, {left}
sleep, 400
Send, {left}
sleep, 400
Send, {left}
sleep, 1000
}
}

Critical, off
return
F7::Pause
Alt::Reload
Esc::ExitApp

답글