Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gettext from Window
#1
i want to get the text from a yahoo meessenger window, the last thing that is said, i have looked around on here but none of them work, i want it to get the text then use the text in a function that makes the macro run.
#2
detecting instant messages
#3
ok but how do i hcnage it to work on yahoo messenger 9.0?
#4
i dont know, but there is a lot of useful code in there. some mayeb transferable to yahoo 9.
#5
Change triggers
#6
ok how can i make it run a different thing for different things typed say i type Hello to a friend and they recieve that and it makes a certain macros run?
#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.
#8
its not for yahoo though its another verson of chat with an idea now...?
#9
yes it is for yahoo.
#10
sorry, but i mean the one im tryin to make isn't for yahoo. its for another version of chat with an id and theres only one chat window that i need to read off of
#11
Mitch264 Wrote:sorry, but i mean the one im tryin to make isn't for yahoo. its for another version of chat with an id and theres only one chat window that i need to read off of
then use your qm skills and think...hmmmm....change html (if chat is html) and hmmmm.... change window.....hmmmm


Forum Jump:


Users browsing this thread: 1 Guest(s)