delay = 99
status = 2
octa = 0
F1::
status = 0
return
F2::
status = 1
return
F3::
status = 2
return
F6::
status = 5
return
PgUp::
octa = 1
return
PgDn::
octa = 0
return
XButton1::
if status = 0
return
if status = 1
loop {
GetKeyState, state, XButton1,P
if state = U
break
else
Send, {w Down}
sleep, 50
Send, {LShift Down}
Send, {BS Down}
Send, {LShift Up}
Send, {BS Up}
sleep, delay
}
if (status = 2) {
loop {
GetKeyState, state, XButton1,P
if state = U
break
else
Send, {BS Down}
Send, {BS Up}
sleep, 199
}
}
if (status = 5) {
loop {
GetKeyState, state, XButton1,P
if state = U
break
else
click
sleep, 74
Send, {z Down}
Send, {z Up}
}
}
return
F4::
status = 3
loop {
Send, {w Down}
sleep, 50
Send, {LShift Down}
Send, {BS Down}
Send, {LShift Up}
Send, {BS Up}
sleep, delay
if status != 3
break
}
Send, {w Up}
return
F5::
status = 4
loop {
Send, {d Down}
sleep, 1000
Send, {d Up}
Send, {a Down}
sleep, 1000
Send, {a Up}
if status != 4
break
}
Send, {a Up}
Send, {d Up}
return
Capslock::
if (octa = 1) {
click
}
else {
Send, {y Down}
Send, {y Up}
}
return
MButton::
if (status = 5) {
Send, {BS Down}
Send, {BS Up}
}
return
Pause::
Exitapp
return
조잡하긴해도 무쟈게 편함
댓글 0