Hi,
I'm new to AutoIt but it looks great.
I want to get the text from Internet Explorer when hovering the mouse over an image, the statusbargettext function appears to be the way to go.
When running via a hotkey I return a blank, but the msgbox works. Do you know what I'm doing wrong?
Thanks
HotKeySet("!x", "RecordURL") ;wait for ALT-a keystroke
While 1 ;loop forever to wait for the keypress
Sleep(100) ;no need to kill the CPU
WEnd
Func RecordURL()
#include <MsgBoxConstants.au3>
AutoItSetOption("WinTitleMatchMode", 2)
Local $sText = StatusbarGetText("Internet Explorer")
MsgBox($MB_SYSTEMMODAL, "", "Internet Explorer's status bar says: " & $sText)
EndFunc