ich würde gerne den aktiven Explorer-Pfad ermitteln.
Also das Programm sollte jede Sekunde ermitteln in welchem Pfad ich mich aufhalte.
Wenn ich z.B im "Downloads" Ordner bin sollte ein Label mit dem Pfad angezeigt werden.
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$hGUI = GUICreate("Pfad", 613, 78)
$Pfad = GUICtrlCreateLabel("Kein Pfad", 8, 40, 596, 22)
GUICtrlSetFont(-1, 9, 400, 0, "Corbel")
$Label2 = GUICtrlCreateLabel("Aktueller Pfad:", 8, 16, 115, 26)
GUICtrlSetFont(-1, 11, 400, 0, "Corbel")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd