Posts: 82
Threads: 29
Joined: Jun 2008
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.
Posts: 229
Threads: 22
Joined: Sep 2007
Posts: 82
Threads: 29
Joined: Jun 2008
ok but how do i hcnage it to work on yahoo messenger 9.0?
Posts: 229
Threads: 22
Joined: Sep 2007
i dont know, but there is a lot of useful code in there. some mayeb transferable to yahoo 9.
Posts: 67
Threads: 24
Joined: Feb 2009
Posts: 82
Threads: 29
Joined: Jun 2008
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?
Posts: 62
Threads: 15
Joined: Mar 2009
Works in yahoo messenger 9.0 not testing in any other versions.
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.
Posts: 82
Threads: 29
Joined: Jun 2008
its not for yahoo though its another verson of chat with an idea now...?
Posts: 62
Threads: 15
Joined: Mar 2009
Posts: 82
Threads: 29
Joined: Jun 2008
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
Posts: 62
Threads: 15
Joined: Mar 2009
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