Obtient le handle de la fenêtre du bureau de Windows
#include <WinAPISysWin.au3>
_WinAPI_GetDesktopWindow ( )
Consultez GetDesktopWindow dans la librairie MSDN.
#include <MsgBoxConstants.au3> #include <WinAPISysWin.au3> Example() Func Example() Local $hWin = _WinAPI_GetDesktopWindow() MsgBox($MB_SYSTEMMODAL, "", WinGetTitle($hWin)) MsgBox($MB_SYSTEMMODAL, "", $hWin) EndFunc ;==>Example