Ixany Posted January 31, 2007 Share Posted January 31, 2007 I'm pretty new to AutoIt Here's my problem, I go on a chat website and the problem is somtimes there's too much people chatting in the same time that's it can be hard to see text concerning myself. I would like to make a script that captures any line containing my nick and put it in another window. Is parsing page once waiting a little while then parse it again and search for my nick is the only option ? Or is there a way to capture text in real time ? Thanks for any idea!! Link to comment Share on other sites More sharing options...
AU3Newbie Posted January 31, 2007 Share Posted January 31, 2007 (edited) If the chatwindow is not based IE or other brower,you can get it by ControlgetText() and compare the result with String*(). then you can use controlsetText or send or clip*() to work.ICQ or others chat client works well. Edit: use While for a loop.you can do it all the time. Edited January 31, 2007 by AU3Newbie Link to comment Share on other sites More sharing options...
Ixany Posted January 31, 2007 Author Share Posted January 31, 2007 If the chatwindow is not based IE or other brower,you can get it by ControlgetText() and compare the result with String*().then you can use controlsetText or send or clip*() to work.ICQ or others chat client works well.Edit:use While for a loop.you can do it all the time.In fact, the chatwindow is a java applet called from an IE window (it's volanochat)... I assume what you proposed won't work... Link to comment Share on other sites More sharing options...
AU3Newbie Posted January 31, 2007 Share Posted January 31, 2007 I believe it does,but you should change something about childwindow. I've seen some experts talk about it,but i cannot understand it so far.Waiting for a better answer too. Link to comment Share on other sites More sharing options...
PerryRaptor Posted January 31, 2007 Share Posted January 31, 2007 What does the AutoIT Window Info Tool say for the ChatBox? I can help you with the code...I don't use volano so most of us would need to see a a snapshot from the tool. Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 I tried to get anything out of the window (if others wanna try a test room can be found here)http://www.volano.com/chat.html Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 1, 2007 Moderators Share Posted February 1, 2007 I tried to get anything out of the window (if others wanna try a test room can be found here)http://www.volano.com/chat.htmlThis is all the info the tool I made gets out of it:SunAwtCanvas2 : SunAwtCanvas3 : SunAwtCanvas4 : SunAwtCanvas5 : SunAwtCanvas6 : SunAwtCanvas7 : Button1 : Get RoomsButton2 : Enter RoomListBox1 : ListBox2 : SunAwtListWrap1 : SunAwtListWrap2 : SunAwtLabel1 : SunAwtLabel2 : Your name:SunAwtLabel3 : Your profile:SunAwtLabel4 : 23 rooms:SunAwtLabel5 : People:Edit1 : Edit2 : Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 Well you have to enter a room, though i get nothing really good in there since the chat is in a SunAwtCanvas Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 1, 2007 Moderators Share Posted February 1, 2007 (edited) Well you have to enter a room, though i get nothing really good in there since the chat is in a SunAwtCanvasNothing visible even after chate:SunAwtListWrap1 : SunAwtCanvas1 : SunAwtCanvas2 : SunAwtCanvas3 : SunAwtCanvas4 : SunAwtCanvas5 : SunAwtCanvas6 : SunAwtCanvas7 : SunAwtCanvas8 : Edit1 :But I didn't expect it to to be honest. Edited February 1, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 I even tried the Java Consol window but even there I couldnt find anything usefull Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Ixany Posted February 1, 2007 Author Share Posted February 1, 2007 Thx guys for all your tries... but whta is your conclusion ? Is it possible to do anything or I should forget about it ? And again thx all trying to help me! Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 Well my guess is that Java and Autoit is never a good mix so this might not be the best langues to use Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now