tnicholson Posted July 24, 2020 Share Posted July 24, 2020 I would like to intelligently select an option from a dropdown, but I am unsure of how to proceed. Using Window Info, the dropdown doesn't have a controlID, which I assumed I could just leave as "" but still nothing happens when I try to select a value using ControlCommand. I thought something like this would work: ControlCommand("Dorico","","","SelectString","-2328/12000") But nothing happens. If I understand correctly, ControlCommand will not necessarily make the mouse move, but even when I then close the window, I see that the value was not selected. To make matters more complicated, the dropdown menu has many values in it beyond what is seen on the screen (i.e. must be scrolled). How might I be able to search these to select values I want from the dropdown that I have, e.g. stored in an array? Link to comment Share on other sites More sharing options...
tnicholson Posted July 24, 2020 Author Share Posted July 24, 2020 As you can see, the control info is totally blank... Link to comment Share on other sites More sharing options...
Nine Posted July 24, 2020 Share Posted July 24, 2020 You will need to use UIAutomation. “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...
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