Code:

$Timer = $Form.Timer(1000)
$Timer.onTimer = 'If Ping($Computer)
$CheckBox1.Checked = "True"
Else
$CheckBox1.Checked = "False"
EndIf
'



for this code to work, you need to have novarsinstrings on.

[edit]
fixed the ontimer.


Edited by Jooel (2006-01-11 11:04 AM)
_________________________
!

download KiXnet