<https://www.autoitscript.com/forum/topic/10741-yahoo-im/#comment-83395>
<http://schema.org/text>
"i was messing around with the chat portion of yahoo messenger a while back. \nthis is what i came up with, before i decided to work on a different chat client. \n \nyou will need to be logged into a chat room with yahoo messenger, and this chatroom must have focus for this to work. \n \n Opt(\"WinTitleMatchMode\", 2) \n\n; Disable ads\nControlDisable( \"Chat\", \"\", \"Internet Explorer_Server1\")\nControlHide( \"Chat\", \"\", \"Internet Explorer_Server1\")\n\nControlFocus( \"Chat\", \"\", \"YHTMLContainer1\") \nsend(\"^{a}\")\nsend(\"^{c}\")\n$text = ClipGet()\n  $prevline = \"\"\t\n$i =0\nDo\nControlFocus( \"Chat\", \"\", \"YHTMLContainer1\")\nsend(\"^{a}\")\nsend(\"^{c}\")\n$text = ClipGet()\n$text2 = StringSplit($text, @CRLF, 1)\n$text3 = $text2[0]\n$currentline = $text2[$text3]\nIf $prevline &lt;&gt; $currentline Then\n$prevline = $currentline\nMsgBox (0, \"title\",$currentline, 1)\nEndIf\nUntil $i =1\n \nif every thing has gone well,  this script will popup a msgbox with the newest line of text every time the text changes. "
<https://www.autoitscript.com/forum/topic/10741-yahoo-im/>