Jump to content

Recommended Posts

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

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?

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

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.

Posted

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?

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...