Key ahk12/30/2023 ![]() Hotkey, % "~*Numpad" A_Index - 1 " Up", _OnKeyUp Hotkey, % "~*Numpad" A_Index - 1, OnKeyPressed Gui, Font, cWhite s%FontSize% bold, Arial Gui, +AlwaysOnTop -Caption +Owner +LastFound +E0x20 Global GuiPosition := "Bottom" Top or Bottom ![]() Global DisplayTime := 2000 In milliseconds This code works with a getkeyname from a Dllcall (See Bottom Script- by Lexikos) Open this Script in Wordpad and For Changelog look to the Bottom of the script. Note!! This program was created by Author RaptorX. If you Look to this Youtube Video you can see what it can do.ĭetect Keypress Value From Windows Registry key. (note - run it together with KeypressOSD.ahk script) RegRead, KeypressValue, HKEY_CURRENT_USER,software\GetKeypressValue,KeypressValue read KeypressValue Now you can use it in any ahk script with one codeline. RegWrite, REG_SZ, HKEY_CURRENT_USER,software\GetKeypressValue,KeypressValue,%HotkeyStr% You can Replace this and remove some GUI codelines. To the Windows Registry, you can then get everytime the key press value from the registry with one codeline and use it, then in any kind of ahk scripts. If you Change the Code a litte bit - and remove some Gui's codelines lines + write this %HotkeyStr% value If you look to the Codeline GuiControl,, HotkeyText, %HotkeyStr% from the KeypressOSD.ahk script - then this %HotkeyStr% is the variable where you recieve the Value what you did pressed. I did find an amazing AHK Script that can Monitor All your Pressed keys and keyboard shortcuts combinations and Mouse clicks, The Script is long but then you are able to get the state of All the keyboard movements.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |