MattHiggs Posted February 2, 2021 Share Posted February 2, 2021 Hey all. I want to know if there is a way to query the state of a control in the GUI of an external application. Like, for example, if a checkbox control in an external GUI is checked or not. Looking at the available functions under "Window management" functions (and the control functions subsection), I am not seeing any built in functionality that would allow for this. Is this the case, or is there some way to accomplish this that is just not a built in function? Thanks. Link to comment Share on other sites More sharing options...
Danyfirex Posted February 2, 2021 Share Posted February 2, 2021 Hello. Check ControlCommand. Saludos MattHiggs 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Nine Posted February 2, 2021 Share Posted February 2, 2021 If you need much more options than ControlCommand, you can use SendMessage directly to the control. To get a list of all the possibilities see : https://docs.microsoft.com/en-us/windows/win32/controls/window-controls Look under Control Library for a detailed list of all available messages. Remember that some messages cannot be sent between threads (mostly when trying to set some attributes), but reading should not be a problem. MattHiggs 1 “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...
MattHiggs Posted February 2, 2021 Author Share Posted February 2, 2021 Thanks guys. I will look into it. 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