Zer0Velocity Posted August 16, 2010 Share Posted August 16, 2010 How do I get the control ID when the autoit window info tool does not show one? Are the any other window tools that can tell me the ID which will still work with autoit? Link to comment Share on other sites More sharing options...
jaberwacky Posted August 16, 2010 Share Posted August 16, 2010 It doesn't give any other data about the window? Or do you specifically require the control ID? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Zer0Velocity Posted August 16, 2010 Author Share Posted August 16, 2010 I want to send controlclick to a unfocused window. Here is the window tool info. expandcollapse popup>>>> Window <<<< Title: Test website - Mozilla Firefox Class: MozillaUIWindowClass Position: -8, -8 Size: 1696, 1036 Style: 0x15CF0000 ExStyle: 0x00000100 Handle: 0x0000000000150B1E >>>> Control <<<< Class: MozillaWindowClass Instance: 2 ClassnameNN: MozillaWindowClass2 Name: Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:2] ID: Text: Position: 0, 109 Size: 1680, 867 ControlClick Coords: 685, 411 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x00000000003507B2 >>>> Mouse <<<< Position: 685, 542 Cursor ID: 0 Color: 0x85A7B6 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< Link to comment Share on other sites More sharing options...
jaberwacky Posted August 16, 2010 Share Posted August 16, 2010 ControlClick() can accept anyone of the following:ID Text Class ClassNN Name RegExpClassCheck out that helpfile. It's helpful. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Zer0Velocity Posted August 16, 2010 Author Share Posted August 16, 2010 I have tried to use the following without any luck ControlClick("Test website", "", "", "left", 1, $coord[0], $coord[1]) 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