leider hab ich kein plan wo ich da ansetzen kann.
hier mal ein codeausschnitt:
$countdown ist die variable die in dem label aktualisiert werden soll.
Code:
..... #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Countdown...", 160, 54, 193, 115) $Label1 = GUICtrlCreateLabel($countdown, 40, 8, 68, 28) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
auf countdown komme ich so:
Code:
func auslesen() $test = WinGetTitle("bla", "") $countdown = StringLeft ( $test, 8 ) endfunc