Hi,
I have searching in the forum but i don't have find nothing. How to add a progressive number to a ConsoleWrite? Example:
Func Test()
Local $Position = MouseGetPos()
While
$Final = MouseGetPos()
If _IsPressed("01") Then
ConsoleWrite("X Pos: " & $Final[0] & @CRLF & "Y Pos: " & $Final[1] & @CRLF)
EndIf
Sleep(100)
WEnd
EndFunc ;==>Test
The output is:
X Pos: 488
Y Pos: 345
X Pos: 674
Y Pos: 9
etc.
I'd like to add a progressive number, like:
X Pos_001: 488
Y Pos_001: 345
X Pos_002: 674
Y Pos_002: 9
etc.
Hope everything is clear, thanks