Earthshine Posted April 3, 2020 Posted April 3, 2020 Or use UIAutomation My resources are limited. You must ask the right questions
deepthio Posted April 6, 2020 Author Posted April 6, 2020 Could you help me out in using hotkeyset for arrows and enter I'm not able to do that
Nine Posted April 6, 2020 Posted April 6, 2020 (edited) It is not HotKeySet. It is simple Send : Send ("!a") ; to open Action Menu Send ("s") ; to start ? as I told you I have french OS, so you need to test which character will work under your language ; or you could use arrow and enter Send ("{DOWN}{ENTER}") or even better, you can use ControlSend like this #RequireAdmin Run("perfmon") Local $hWnd = WinWaitActive("[CLASS:MMCMainFrame]") ControlTreeView($hWnd, "", "SysTreeView321", "Expand", "#0|#1") ControlTreeView($hWnd, "", "SysTreeView321", "Expand", "#0|#1|#1") ControlTreeView($hWnd, "", "SysTreeView321", "Select", "#0|#1|#1|#1") Sleep (1000) $hCtrl = ControlGetHandle ($hWnd, "", 4097) ControlSend ($hWnd, "", $hCtrl, "!a") Sleep (800) ControlSend ($hWnd, "", $hCtrl, "x") ; you need to test for right key or use arrow/enter as described above Edited April 6, 2020 by Nine “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
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