How can i respond to data from another application?

L

lep31

I'm new to VB. I'm trying to write a program that will respond to a chat
window in another .exe

i am interested in finding a way to pick/up the text output by another
program.

So if a chat box in another program (L2x.exe) outputs/says "sarah bought 1
arrow"

I want to type back automatically "/target sarah"
Then i would like the program to automatically "press F3"

(i'm exhausted typing this over and over when someone buys an arrow from me)

I know it sounds like a macro.. i've been trying to get macro programs to
work but they are just not programmable enough. Could i do it in VB?
 
Top