Results 1 to 1 of 1
21-06-2005, 20:32 #1-= TeamSpeak Addict =-
- Join Date
- Jan 2004
- Wiesbaden, DE
C#.NET - Get the Teamspeak Chat text.
I posted this the other day in a different thread, but I realize that it is something that others may be trying to do as well.
This is the source code to a very simple application written in C# .NET with VS1.1 which can pull the text out of the Teamspeak chat box.
It does this by using FindWindowEx to get a handle to the Teamspeak "TRichEditWithLinks" window. It then uses SendMessage to send a WM_GETTEXT request to the Teamspeak chat window. The window replies by dumping the contents of the window to your specified receive buffer.
The program is as simple as it gets. A single form with a single textbox and a single button. When the button is pressed, the Teamspeak chat window text is displayed in the textbox.
I was originally trying to do this to incorporate join/quit/channel change messages into my TsShow program. I stopped updating that program long ago, but stumbled into the solution while working on another project.
Hopefully this is something that someone out there can use in their project.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By BigRedBrent in forum [TeamSpeak 2] General QuestionsReplies: 3Last Post: 23-11-2004, 12:02
By chaotik in forum [TeamSpeak 2] Client SupportReplies: 2Last Post: 12-01-2004, 06:15
By ***666*** in forum [TeamSpeak 2] Client SupportReplies: 0Last Post: 29-03-2003, 14:14
By ***666*** in forum [TeamSpeak 2] General QuestionsReplies: 6Last Post: 24-03-2003, 13:38