Hallo,
Danke für deine Antwort.
Ich habe das ganze jetzt mal so probiert, aber das funktioniert nicht
AutoIt
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 437, 192, 124)
$Group1 = GUICtrlCreateGroup("Group1", 96, 48, 337, 281)
$Rechner1 = GUICtrlCreateLabel("Rechner1", 128, 88, 51, 17)
$Pic1 = GUICtrlCreatePic("", 208, 80, 36, 28)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
$PRechner1 = ping ("RECHNER1")
If $PRechner1 > 0 Then
$Pic1 = GUICtrlSetImage (-1, "PFAD\BILD1", "")
Else
$Pic1 = GUICtrlSetImage (-1, "PFAD\BILD2", "")
EndIf
Sleep (100)
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Alles anzeigen
Die Rechner sind im lokalen Netzwerk, was wäre den die Alternative zu Ping?
Vielen Dank
Gruß