#include <WindowsConstants.au3>
#include <IE.au3>
$hGUI = GUICreate("天气预报", 265, 200,-1,0,$WS_POPUP)
$oIE = _IECreateEmbedded()
GUICtrlCreateObj($oIE, 0, 0, 265, 200)
GUISetState()
_IENavigate($oIE, "http://www.soso.com/tb.q")
$colLinks = _IELinkGetCollection($oIE)
For $oLink in $colLinks
If String($oLink.InnerText) = "this link" Then
_IEAction($oLink, "click")
ConsoleWrite("Popup should be displayed" & @LF)
ExitLoop
EndIf
Next
DllCall("user32.dll", "uint", "SetWindowLong", "hWnd", $hGUI, "int", "-20", "uint", BitOR(DllCall("user32.dll", "uint", "GetWindowLong", "hWnd", $hGUI, "int", "-20"), 0x80000, 0x20))
DllCall("user32.dll", "int", "SetLayeredWindowAttributes", "hWnd", $hGUI, "int", 0, "int", 255, "int", 0x2)
Do
Until GUIGetMsg() = -3