Created
April 9, 2019 06:38
-
-
Save MasterMedo/ecacd4f240bd4391fd2003b438e3cfca to your computer and use it in GitHub Desktop.
Windows shortcuts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #s:: | |
| return | |
| #f:: | |
| if (WinActive("ahk_class Progman") || WinActive("ahk_Class DV2ControlHost") || (WinActive("Start") && WinActive("ahk_class Button")) || WinActive("ahk_class Shell_TrayWnd")) ; disallows minimizing things that shouldn't be minimized, like the task bar and desktop | |
| return | |
| WinGet, MinMax, MinMax, A | |
| If (MinMax = 1) | |
| WinRestore, A | |
| else | |
| WinMaximize, A | |
| return | |
| #q:: Send !{f4} | |
| return | |
| #Enter:: run, C:\Windows\System32\cmd.exe | |
| return | |
| #+x:: Shutdown, 9 | |
| return | |
| #+Backspace:: Shutdown, 6 | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment