Schau mal, ob diese GUID für dich passt:
AutoIt
#include <MsgBoxConstants.au3>
#include <WinAPIGdi.au3>
#include <WinAPIShellEx.au3>
Local $GUID_HARDWARE_REMOVAL = "{7820ae78-23e3-4229-82c1-e41cb67d5b9c}" ;explorer.exe
Global $tGUID = _WinAPI_GUIDFromString($GUID_HARDWARE_REMOVAL)
Local $tRECT = _WinAPI_ShellNotifyIconGetRect(0, 0, $tGUID)
ConsoleWrite(@error & " - " & Hex(@extended) & @CRLF)
Local $aPos
If Not @error Then
$aPos = _WinAPI_GetPosFromRect($tRECT)
MouseMove($aPos[0] + 12, $aPos[1] + 12)
MouseClick('left')
Else
MsgBox($MB_ICONERROR, "Kein NotifyIcon", "Icon nicht vorhanden, bzw. nicht gefunden!")
EndIf
Alles anzeigen