Actually it does get it from the messagebox, I found this script on one of the forum archives (modified it for the new AutoITX3.dll but it doesn't work.

Code:

break on
;$=setconsole("minimize")

$autoIt=CreateObject("AutoItX3.Control")
? @error
do
if $AutoIt.IfWinExist("Messenger-service", "")
$x=$AutoIt.WinActivate("Messenger-service", "")
$x=$AutoIt.Send("^c")
$x=$AutoIt.WinClose("Messenger-service", "")
$Paste=$AutoIt.ClipGet()
$text=split($paste,@crlf)
$header = split($text[3])
$body = ""
for $l = 5 to ubound($text) - 4
$body = $body + @crlf + $text[$l]
next
$from = $header[2]
$to = $header[4]
$date = $header[6]
$time = $header[7] + " " + $header[8]
$body = substr($body,3)
? $from
? $body
? "----"
endif
sleep 1
until @error