Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gettext from Window
#7
Works in yahoo messenger 9.0 not testing in any other versions.
Macro
Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)