Code: Select all
list=RButton,LButton ; the list of keys and combos. comma
separated.
stringsplit, list, list,`,
Counter = 0
$Xbutton2::
While GetKeyState("Xbutton2","P"){
Counter := (Counter=list0) ? (1) : (Counter+1)
Send % list%counter%
Sleep 50
}
return