08-17-2009, 09:18 AM
Works in yahoo messenger 9.0 not testing in any other versions.
Macro
Macro
str u.getwintext(win("" "ATL:007C07F0")) ;;gets window name
Htm el=htm("DIV" "" "" win(u) 0 10000000 0x20);err ;;html format
str so=el.Text ;;puts text into string
lpstr s1 = so
str s2
int i
i=findcr(s1 ':')+2 ;;finds word after :
if(i>=0) s2.get(s1 i)
str s7
out s2 ;;Outputs last text said.