waldo Posted December 1, 2006 Posted December 1, 2006 Looking for help identifying and working with a window that does not show a classname or title under AutoItWindow information. I can't grasp the handle concept and there are few examples, can anyone help please?
FuryCell Posted December 1, 2006 Posted December 1, 2006 (edited) [JK] I found waldo. Do I get a cookie? [/JK] Anyway , I am guessing you mean the window has a generic classname like #32270 or something like that. In that case you might be able to do a winlist() by the process that owns it. Take a look at WinGetProcess(). Edited December 1, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
LxP Posted December 1, 2006 Posted December 1, 2006 Looking for help identifying and working with a window that does not show a classname or title under AutoItWindow information.Does the window contain any text that AutoIt can identify? Don't forget that this can be used.Failing that, theoretically you could identify a window by its content: get a handle to the window that has three buttons, one of which is in this particular position on the window (this requires some extra AutoIt code to achieve of course, but it's not too difficult). Controls on windows also feature class names of their own, so you could use those details as well.
Deemerlro Posted December 15, 2009 Posted December 15, 2009 Cann you please help me?WINDOWTitle: Identity Manager - Mozilla FirefoxClass: MozillaUIWindowClassPosition: -4, -4Size: 1288, 968Style: 0x48CF0000ExStyle: 0x00000100Handle: 0x00010730CONTROLClass: MozillaWindowClassInstance: 1ClassnameNN: MozillaWindowClassAdvance(Class): [CLASS:MozillaWindowClass; INSTANCE:1]ID:Text:Position: 0, 0Size: 1280,934ControlClick Coords: 594, 21Style: 0x56000000ExStyle: 0x00000000Handle: 0x0001073AMy code is: & tryed others 2 but stull the same result - I recieve or an empty MsgBox or an "0"WinWait("Identity Manager - Mozilla Firefox")If Not WinActive("Identity Manager - Mozilla Firefox") Then WinActivate("Identity Manager - Mozilla Firefox")WinWaitActive("Identity Manager - Mozilla Firefox")Dim $Text $Text= ControlListView ( "[CLASS:MozillaUIWindowClass]", "", "[CLASS:MozillaWindowClass; INSTANCE:1]", "GetSelected") ;Display the selected text in a message box. MsgBox(1, "", $Text)
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