rcmaehl Posted July 20, 2020 Share Posted July 20, 2020 (edited) Hi all, I was wondering if there is another choice instead of GUISetAccelerators or HotKeySet. I'm looking for the full interrupt of HotKeySet without interfering with other running applications and keybinds. I am running AutoIt in an extreme environment (essentially running a very heavy java application, several chrome instances, and Autoit all on a single core) and GUISetAccelerators just isn't reliable, taking several minutes and sometimes an hour to be processed. HotKeySet really isn't an option due to needing as many keys as possible. I believe this is because I'm getting very few while loop cycles per minute, and that events are being processed in the order they were received. Is there anyway to force a GUI event to be processed before any others? Would using OnEventMode() be more reliable instead of GUIGetMsg()? Thanks in advance! Edited July 20, 2020 by rcmaehl My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
Nine Posted July 20, 2020 Share Posted July 20, 2020 (edited) You may want to try hooking to the control using either : _WinAPI_SetWindowLong with the $GWL_WNDPROC option or SetWindowSubclass Win32 API In both cases, by hooking to the message WM_KEYDOWN, you should get better response time...I think. Edited July 20, 2020 by Nine rcmaehl 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...
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