snax68 Posted March 15, 2017 Share Posted March 15, 2017 Hello! In the process of automate the reading of a Java applet form I found problems when reading the current selected value of a ComboBox. I then replicated the case creating a small java applet that does the same thing (see CreateChoiceExample.java). Using the AutoIt Windows Information tool I got the following: >>>> Window <<<< Title: Applet Viewer: testComboBox.CreateChoiceExample.class Class: SunAwtFrame Position: 730, 200 Size: 216, 282 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x00000000001212E6 >>>> Control <<<< Class: ComboBox Instance: 1 ClassnameNN: ComboBox1 Name: Advanced (Class): [CLASS:ComboBox; INSTANCE:1] ID: 1 Text: Position: 67, 6 Size: 66, 22 ControlClick Coords: 16, 8 Style: 0x54000013 ExStyle: 0x00000000 Handle: 0x0000000000321080 >>>> Mouse <<<< Position: 821, 265 Cursor ID: 0 Color: 0xFFDB90 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< ᦻ Applet started. >>>> Hidden Text <<<< I tried different methods (GUICtrlRead, ControlGetText, ControlCommand\GetCurrentSelection, ...) but without any success. Any idea on how to achieve this goal? Many thanks for helping. Kind regards, Gianluca 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