starcraft Posted July 29, 2003 Posted July 29, 2003 ok i've asked questions in the past the semi-relate to this but i'm going to ask it strait out now. How would i go about either pluggin into or screan scraping the Aim window to retreave items like whoes on and whoes off, profile, settings, and display the chat conversations in a tab formation in my program? Quote
*Experts* Volte Posted July 29, 2003 *Experts* Posted July 29, 2003 I doubt you will be able to do this easily, nor reliably. I suggest you look to see if there's a way to directly connect to AIM using Winsock and actually making your own client. If you really want to do it your way, look at [api]FindWindow[/api] or [api]FindWindowEx[/api], and use Spy++ extensively. Quote
starcraft Posted July 29, 2003 Author Posted July 29, 2003 how would i go about using winsock to connet to aim? Quote
*Gurus* divil Posted July 30, 2003 *Gurus* Posted July 30, 2003 With the Socket class. You'll have to find documentation on their protocol, and from what I've heard AOL do not look favourably on non-AIM clients connecting to their service (Trillian for example). Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
starcraft Posted August 1, 2003 Author Posted August 1, 2003 so scraping the aim window is the best answer? if so how would this be done? i dont have spy++ i just have standard.. :-( but what does spy do? Quote
*Experts* Volte Posted August 1, 2003 *Experts* Posted August 1, 2003 Er... As far as I know there's no such thing as regular "Spy"... "Spy++" however, allows you to find out the registered classnames, hWnds, window message, windows styles, etc, so you can use the classname with FindWindow. It's too complicated too explain here, so you should look into documentation about window classes and the FindWindow API. However, why would you need to scrame the AIM window? I doubt it will be worth the effort. Quote
starcraft Posted August 1, 2003 Author Posted August 1, 2003 cause i HATE the aim set up i would rather make my own interface. Right know i'm using things that kinda do the things i wont it to but, its using appactive and sendkeys, so... its not vary reliable or fast, even if i could deface aim and build my own with its componants i would be happy. Quote
starcraft Posted August 1, 2003 Author Posted August 1, 2003 would i get into legal trouble if i used winsock to connect to the aim servers and just built my own interface? Quote
*Experts* Volte Posted August 1, 2003 *Experts* Posted August 1, 2003 Probably not, but you might get banned from the network or something. Also, you'll never manage to make anything better than AIM interface by ripping the info from the AIM interface. It will still require the current interface to be open, and even then, it won't be easy to get text and stuff, because there is a chance that many of the controls are custom drawn. Sorry. Quote
starcraft Posted August 1, 2003 Author Posted August 1, 2003 darn...:( wel.. thanks for the help anyway Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.