Netol Posted April 11 Share Posted April 11 (edited) Hy my friend Just to ask about to obtain the text of application with the code of the Autoit v3 Windows Information. i need the combobox section. the code of the Autoit v3 Windows Information is the next >>>> Window <<<< Title: BluffTitler Windows Class: BluffTitler Position: 0, 4 Size: 1212, 789 Style: 0x14CF0000 ExStyle: 0x00000110 Handle: 0x0000000000051F6A >>>> Control <<<< Class: ComboBox Instance: 1 ClassnameNN: ComboBox1 Name: Advanced (Class): [CLASS:ComboBox; INSTANCE:1] ID: Text: Position: 0, 36 Size: 1196, 21 ControlClick Coords: 804, 2 Style: 0x50000242 ExStyle: 0x00000000 Handle: 0x000000000001201C im going to try using the code: $name_bluff = ControlGetText("BluffTitler Windows", "", "[CLASS:ComboBox; INSTANCE:1]") but not working best regards Edited April 11 by Netol Link to comment Share on other sites More sharing options...
Andreik Posted April 11 Share Posted April 11 You can try ControlCommand() to get current selection in ComboBox. Netol 1 Link to comment Share on other sites More sharing options...
Netol Posted April 13 Author Share Posted April 13 I know what the command is, but I don't know how to do it. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 13 Developers Share Posted April 13 Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team Netol 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Nine Posted April 13 Share Posted April 13 He told you where to look, so have you attempted anything ? Show the code you tried that is not working. And when you post code, even if it is very small, use the method shown in the link. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Solution Andreik Posted April 13 Solution Share Posted April 13 (edited) On 4/11/2024 at 5:06 AM, Netol said: im going to try using the code: $name_bluff = ControlGetText("BluffTitler Windows", "", "[CLASS:ComboBox; INSTANCE:1]") but not working Because BluffTitler it's the window class. Try this: $hWin = WinWait('[CLASS:BluffTitler]') ConsoleWrite('Window handle: ' & $hWin & @CRLF) $sText = ControlGetText($hWin, '', 'ComboBox1') ConsoleWrite('ComboBox Text: ' & $sText & @CRLF) or directly using the window's class instead of the handle: $sText = ControlGetText('[CLASS:BluffTitler]', '', 'ComboBox1') ConsoleWrite('ComboBox Text: ' & $sText & @CRLF) Edited April 13 by Andreik Netol 1 Link to comment Share on other sites More sharing options...
Netol Posted April 18 Author Share Posted April 18 thanks a lot my friend. problem resolved best reagards 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