Jump to content
Sign in to follow this  
masvil

classname changing

Recommended Posts

masvil

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 by masvil

Share this post


Link to post
Share on other sites
masvil

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:0

2k SP4 = Afx:400000:0:10011:1100065:0

XP SP1 = Afx:400000:0:10011:1100060:0

XP SP2 = Afx:400000:0:10011:1100061:0

... is it an usual thing?

Share this post


Link to post
Share on other sites
killaz219

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 by killaz219

Share this post


Link to post
Share on other sites
ezzetabi

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

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

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

I'll search for a command line OCR, it seems only solution for me.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.