Код:
;#NoTrayIcon
$iTime = 0
While 1
WinWaitActive('[CLASS:Notepad]', '')
$hTimer = TimerInit()
WinWaitNotActive('[CLASS:Notepad]', '')
$iTime += TimerDiff($hTimer)
ConsoleWrite($iTime/1000 & @CRLF)
If Not ProcessExists('notepad.exe') Then ExitLoop
Sleep(800)
WEnd
ConsoleWrite($iTime/1000 & @CRLF)
$1=floor($iTime/1000 & @CRLF)
MsgBox(0, "Результат", $1)
Подскажите пожалуйста,как передать переменную $1 (результат), на сервер?