Nine Posted January 25, 2022 Share Posted January 25, 2022 Case $Button_1 $vResult = ControlCommand("Add port mapping for", "", $hCombo, "SelectString", GUICtrlRead($idCombo)) ConsoleWrite($vResult & "/" & @error & @CRLF) Try this way “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...
SNET2022 Posted January 25, 2022 Author Share Posted January 25, 2022 Hello Nine, I tried the above line, but it's not working, also it's not update the Text into AutoCAD Combobox. Thanks. Link to comment Share on other sites More sharing options...
Solution Nine Posted January 25, 2022 Solution Share Posted January 25, 2022 Try this one then : Case $Button_1 $iIndx = _GUICtrlComboBox_FindStringExact($hCombo, GUICtrlRead($idCombo)) ConsoleWrite($iIndx & "/" & @error & @CRLF) _GUICtrlComboBox_SetCurSel ($hCombo, $iIndx) “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...
SNET2022 Posted January 25, 2022 Author Share Posted January 25, 2022 Thank you so much.. It's working fine. Thank you So much for your help Nine. 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