Created
February 9, 2024 12:17
-
-
Save SingularReza/f4e8ffe0e4a5c4a8679739ec289283d1 to your computer and use it in GitHub Desktop.
A simple ahk script for all my 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
| #Requires AutoHotkey v2.0 | |
| #f::Run "C:\Program Files\Everything\Everything.exe" | |
| #b::Run "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" | |
| #PgUp::Send "{Volume_Up 1}" | |
| #PgDn::Send "{Volume_Down 1}" | |
| #h:: { | |
| Sleep 500 | |
| DllCall("PowrProf\SetSuspendState", "int", 1, "int", 1, "int", 1) | |
| } | |
| #s:: { | |
| Sleep 500 | |
| DllCall("PowrProf\SetSuspendState", "int", 0, "int", 1, "int", 1) | |
| } | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment