返回 Windows 桌面窗口的句柄
#Include <WinAPI.au3>
_WinAPI_GetDesktopWindow()
在MSDN中搜索
#include <WinAPI.au3>
_Main()
Func _Main()
Local $win = _WinAPI_GetDesktopWindow()
MsgBox(0, "", WinGetTitle($win))
MsgBox(0, "", $win)
EndFunc ;==>_Main