Here's what I did. Any feedback would be cool.
My Rapidfire, tap 9 to activate/disable:
Code: Select all
#If WinActive("Paladins")
9::
mode := !mode
Tool_Tip(mode)
return
Tool_Tip(mode)
{
if mode = 1
{
Progress, CBLime b w200 CWBlack CTLime FS20 FM20, Is ON, Rapidfire, , Comic Sans MS
Progress, 100
Sleep, 1000
Progress, Off
}
else
{
Progress, CBRed b w200 CWBlack CTRed FS20 FM20, Is OFF, Rapidfire, , Comic Sans MS
Progress, 100
Sleep, 1000
Progress, Off
}
}
return
~$LButton::
if mode = 1
{
While GetKeyState("LButton", "P"){
Click
Sleep 50 ; milliseconds
}
}
Code: Select all
#If WinActive("Paladins")
8::
mode := !mode
Tool_Tip(mode)
return
Tool_Tip(mode)
{
if mode = 1
{
Progress, CBLime b w200 CWBlack CTLime FS20 FM20, Is ON, Rapid-Q, , Comic Sans MS
Progress, 100
Sleep, 1000
Progress, Off
}
else
{
Progress, CBRed b w200 CWBlack CTRed FS20 FM20, Is OFF, Rapid-Q, , Comic Sans MS
Progress, 100
Sleep, 1000
Progress, Off
}
}
return
~$q::
if mode = 1
{
While GetKeyState("q", "P"){
Send q
Sleep 50 ; milliseconds
}
}
~$XButton2::
if mode = 1
{
While GetKeyState("XButton2", "P"){
Click X2
Sleep 50 ; milliseconds
}
}