I have found from some poster here 1 key rotation. It's basically one key which do continuosly other buttons if you tap it. Here is the code.
Code: Select all
XButton1::send % Seqkeys("X","{F1}",1,2,3,4)
Seqkeys(params*){ ; keys rotation, 8 second reset.
static s:=0, c:=0, t:=8000
max := params.MaxIndex()
(A_TickCount-s<=t && (c+=1)<=max) ? c : c:=1, s:=A_TickCount
return params[c]
}
Is it possible to add cast time to those key rotations? For example Key X is 3 second long cast time. Is it possilbe to have more rotations at the same time for example
Code: Select all
~1::send % Seqkeys(("X","{F1}",1,2,3,4), ~2::send % Seqkeys((7,8,9,0,2)
but implemented in this said code or another similiar code which will allow me to tap one button. Thank you in advance for help