Nine Posted Sunday at 01:24 PM Posted Sunday at 01:24 PM (edited) In this thread, it was discussed how to intercept the special Func keys press (Fn keys like muting speakers) coming from laptop and keyboards. It has always been a challenge to find a way to perform such task. The solution was passing through the monitoring of OutputDebugString API messages. Using this UDF, it was possible to read the debug stream coming from any process and see when a Fn key was pressed. The problem with the UDF is that it requires a DLL and there is no support to x64. Looking the C++ code, it became clear that there was no need for C++ DLL as the code was simply requesting a few WinAPI. So here's a rewrite of the code solely in AutoIt. For those interested into the mechanics of the OutputDebugString API, you can read about the protocol here. The original code can be found there. Included in the file is the UDF and a simple Debug Event Viewer. DebugViewer.zip Edited Sunday at 01:36 PM by Nine ioa747 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) Debug Messages Monitor UDF Screen Scraping Multi-Threading Made Easy
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