masvil Posted November 28, 2004 Share Posted November 28, 2004 (edited) I see that a script using classname to handle windows works on my pc and not on other pc. I see that classname for SAME app change, but I still didn't understand if it does from pc to pc or from OS to OS. Can you help me? Edited November 28, 2004 by masvil Link to comment Share on other sites More sharing options...
masvil Posted December 5, 2004 Author Share Posted December 5, 2004 According to the amount of information provided, I cannot help.Lar.<{POST_SNAPBACK}>I admit you're right. OK, that's my problem.I have to manage this MSN-style notify tool:http://www.codeguru.com/Cpp/W-D/dislog/mis...icle.php/c4989/ (compiled demo avaiable).When popup come out I would like to...1) read text in the popup. Damn, it seems impossible!2) launch a file. The only way I found is:- switch to AutoItSetOption("WinTitleMatchMode", 4);- winwait for ("classname=*"). The point is that * can be:98SE = Afx:400000:0:1476:84a:02k SP4 = Afx:400000:0:10011:1100065:0XP SP1 = Afx:400000:0:10011:1100060:0XP SP2 = Afx:400000:0:10011:1100061:0... is it an usual thing? Link to comment Share on other sites More sharing options...
killaz219 Posted December 5, 2004 Share Posted December 5, 2004 (edited) Why dont you do something like If @osversion = "WIN_XP" and @OSServicePack = "Service Pack 2" then Winwait("classname=Afx:400000:0:10011:1100061:0") Elseif; etc. etc... Edited December 5, 2004 by killaz219 Link to comment Share on other sites More sharing options...
masvil Posted December 5, 2004 Author Share Posted December 5, 2004 (edited) Why dont you do something likeOk, but main problem remains: I can't capture text in outcoming popup. If someone could check it, this is demo (no installation required): http://www.codeguru.com/code/legacy/dialog...tifier_Demo.zip Edited December 5, 2004 by masvil Link to comment Share on other sites More sharing options...
ezzetabi Posted December 5, 2004 Share Posted December 5, 2004 It is impossible. Those are not standard controls at all. Sorry, but I am afraid that there are no solution, you may check if a remainder appear but not know its content. Link to comment Share on other sites More sharing options...
masvil Posted December 6, 2004 Author Share Posted December 6, 2004 It is impossible. Those are not standard controls at all.Sorry, but I am afraid that there are no solution, you may check if a remainder appear but not know its content.Thanx for testing it out.Hm, what do you think about an OCR method? Link to comment Share on other sites More sharing options...
ezzetabi Posted December 6, 2004 Share Posted December 6, 2004 Of course, but Autoit have no native support of OCR. So you'll need to create a poor man OCR using pixel colors and such funcs. It is surely possible, and with a fixed font also ...almost... easy. But it is really a great job. Link to comment Share on other sites More sharing options...
masvil Posted December 7, 2004 Author Share Posted December 7, 2004 I'll search for a command line OCR, it seems only solution for me. 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