For information my code is something like this :
Code: Select all
Loop, 3
{
Send, +{End}^c{ClipWait, 1}{Clip%A_Index% := ClipBoardAll}
Send, +{Tab}+{End}^c{ClipWait, 1}{Clip%A_Index% := ClipBoardAll}
Send, +{Tab}+{End}^c{ClipWait, 1}{Clip%A_Index% := ClipBoardAll}
Send, {down}{SetKeyDelay, 10, 10}
... (et caetera)
}
Msgbox, Success!
Return
I tried implementing an if statement as below, but it doesn't work much :
Code: Select all
counter = 0
Loop, 3
{
Send, +{End}^c{ClipWait, 1}{Clip%A_Index% := ClipBoardAll}
Send, +{Tab}+{End}^c{ClipWait, 1}{Clip%A_Index% := ClipBoardAll}
Send, +{Tab}+{End}^c{ClipWait, 1}{Clip%A_Index% := ClipBoardAll}
Send, {down}{SetKeyDelay, 10, 10}
... (et caetera)
counter+=1
}
if (counter = 3) { ;the same as the loop reiteration
MsgBox, Success!
}
I'm pretty sure there is an easy solution on this but the love of me I cannot get a clue >_<