{"id":16849901,"url":"https://github.com/rustyx/myhotkey","last_synced_at":"2025-04-11T06:41:40.803Z","repository":{"id":46149824,"uuid":"190928846","full_name":"rustyx/myhotkey","owner":"rustyx","description":"A simple Windows hotkey application","archived":false,"fork":false,"pushed_at":"2022-09-06T18:52:31.000Z","size":23,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T04:36:42.154Z","etag":null,"topics":["startup","windows-shell"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustyx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-08T19:49:57.000Z","updated_at":"2024-06-22T17:18:08.000Z","dependencies_parsed_at":"2022-07-21T09:32:28.273Z","dependency_job_id":null,"html_url":"https://github.com/rustyx/myhotkey","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fmyhotkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fmyhotkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fmyhotkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustyx%2Fmyhotkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustyx","download_url":"https://codeload.github.com/rustyx/myhotkey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358549,"owners_count":21090401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["startup","windows-shell"],"created_at":"2024-10-13T13:17:52.167Z","updated_at":"2025-04-11T06:41:40.774Z","avatar_url":"https://github.com/rustyx.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## myhotkey\n\nWindows Shell allows a hotkey to be associated with an application or action.\n\nUnfortunately there is often a delay of 3 seconds between pressing the hotkey combination and the associated action.\nThe reason is explained [here](https://devblogs.microsoft.com/oldnewthing/?p=7723).\n\nThis application bypasses the Windows Shell and executes applications and other shell actions on pre-configured hotkey combinations.\n\nThe end result is *immediate* reaction on pressed hot keys.\n\n### Configuration\n\nThe application has no GUI; it is configured via a config file `myhotkey.conf` which is loaded from the application's startup directory.\n\nThe config file looks like this:\n\n```\n# myhotkey.conf - configuration file for myhotkey\n#\n# Format:\n# Modifiers [TAB] Hotkey [TAB] Executable [TAB] Work Dir [TAB] Params\n# Where Modifiers = letters C,A,S,W corresponding to Ctrl, Alt, Shift, Win.\n# A special modifier \"+\" can be used to allow multiple application instances.\n#\n# Notes:\n# * no spaces to separate columns, use the TAB character,\n# * use '-' to skip a column, '#' to skip a line\n# * Hotkey can be defined as a normal character (0-9A-Z) or as a virtual key code -\n#   prefix it with a tilde followed by the decimal key code, e.g. ~112 means VK_F1.\n#   See https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes\n#\nCA\tC\tcalc\nCA\tZ\tcmd\t%USERPROFILE%\nCA\tD\tbash\t%USERPROFILE%\nCA\tO\t-\t-\trundll32 shell32.dll,Control_RunDLL sysdm.cpl\nCS\t~112    -\tmsedge\n```\n\n### Building\n\nThe application can be build with Visual Studio 2015 or later or with Mingw32 using the provided build script.\n\n### Installation\n\n* Build or [download](https://github.com/rustyx/myhotkey/releases) the executable\n* Unzip the application somewhere\n* Add a shortcut to `myhotkey.exe` in the Startup folder (Start -\u003e Run, type `shell:startup`)\n* Execute the shortcut\n\n### Known issues\n\nThe main window of UWP apps like the calculator cannot be detected, which results in a new instance being started for every hotkey press.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustyx%2Fmyhotkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustyx%2Fmyhotkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustyx%2Fmyhotkey/lists"}