MattHiggs Posted 17 hours ago Posted 17 hours ago Hey everybody. So, I am trying to automate some interactions with an external application's GUI, but I am running into a problem where the class for a button control I want to simulate a click for is unique each time the application is run. For example, the first time I run the application, I capture the following class using the control viewer: WindowsForms10.BUTTON.app.0.12b256f_r38_ad1 However, when I close out and run it again, I get this class for the control: WindowsForms10.BUTTON.app.0.e813a5_r38_ad1 The fact that the class for the control keeps changing is making it difficult to identify the control for the purposes of simulating a click on the control with ControlClick. Any advice as to how I can get around this?
Nine Posted 16 hours ago Posted 16 hours ago use REGEXPCLASS - Control classname using a regular expression “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) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
ioa747 Posted 16 hours ago Posted 16 hours ago take a look how-can-i-future-proof-my-code-so-changes-to-windows-handlesids-dont-require-new-edits/ I know that I know nothing
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