Hi, I have now cut & pasted the part of the code, removing the $ sign from the loop, but when checking with syntaxcheck prod (ctrl & F5) it errors until the $ is put back, but the point i was trying to make was the $x and $y varibles are causing the fault, on adding the message box when the count reaches 1 on the Variables they are false or not being assigned,
Local $x
Local $y
For $L = 0 To 3
If $L = 1 Then $x = 915 & $y = 497
MsgBox($MB_SYSTEMMODAL, "", "Count down!" & @CRLF & $L & " " & $x)
MouseClick ("Left",$x,$y)
Sleep (1000)
MouseClick ("Left",813,475)
Sleep (1000)
Next