Created
December 11, 2018 19:04
-
-
Save sandeepb1/26e98986cd1e30020b92d9c00f7f11af to your computer and use it in GitHub Desktop.
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
#SingleInstance force | |
EmptyRecycleBin() | |
{ | |
MsgBox, 4,, Clear Recycle Bin? | |
IfMsgBox Yes | |
FileRecycleEmpty | |
} | |
#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. | |
$^+z::Send ^y ; Re-do functionality - CMD + Shift + Z | |
^BS::Send {Delete} | |
LControl & Tab::AltTab ; CMD + Tab to switch between applications | |
#If GetKeyState("LControl", "P") | |
LShift & BS:: EmptyRecycleBin() ; CMD + Shift + Backspace to Empty the Recycle Bin | |
LControl & Q::Send !{F4} ; Emulate CMD + Q to close the current window. This does not close the application, just the window that you are currently on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment