masvil 3 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 Share this post Link to post Share on other sites
masvil 3 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? Share this post Link to post Share on other sites
killaz219 2 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 Share this post Link to post Share on other sites
masvil 3 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 Share this post Link to post Share on other sites
ezzetabi 3 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. Share this post Link to post Share on other sites
masvil 3 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? Share this post Link to post Share on other sites
ezzetabi 3 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. Share this post Link to post Share on other sites
masvil 3 Posted December 7, 2004 I'll search for a command line OCR, it seems only solution for me. Share this post Link to post Share on other sites