SendDelay(key,delay) {
Global
If (lastSent_%key% = "" || lastSent_%key% < A_TickCount - delay)
{
Send %key%
lastSent_%key% := A_TickCount
Return 1
}
Return 0
}
Loop
SendDelay("a",1500)
SendDelay(key,delay) {
Global
If (lastSent_%key% = "" || lastSent_%key% < A_TickCount - delay)
{
Send %key%
lastSent_%key% := A_TickCount
Return 1
}
Return 0
}
Loop
SendDelay("a",1500)
No comments:
Post a Comment