Last active
February 21, 2018 13:14
-
-
Save xiprox/60ab07d731a2f6ee5cd14fa9c0891b2e to your computer and use it in GitHub Desktop.
Various AutoHotkey scripts I use for stuff like media controls on a keyboard without the keys, Recycle Bin clearance, quick cmd, desktop switching, etc...
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
NumpadDot & NumpadDiv::Send ^#{Left} | |
NumpadDot & NumpadMult::Send ^#{Right} |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
NumpadDot & Numpad4::Send {Media_Prev} | |
NumpadDot & Numpad5::Send {Media_Play_Pause} | |
NumpadDot & Numpad6::Send {Media_Next} | |
NumpadDot & Numpad8::Send {Volume_Up} | |
NumpadDot & Numpad2::Send {Volume_Down} | |
NumpadDot & Numpad0::Send {Volume_Mute} |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#+Backspace:: | |
MsgBox, 4, Empty trash?, Are you sure you would like to empty the trash?, 0 | |
IfMsgBox Yes | |
FileRecycleEmpty, C:\ | |
SoundPlay, res/trash.mp3 | |
return |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
#t::Run, %A_ProgramFiles%\cmder\Cmder.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment