This file contains 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
#NoTrayIcon | |
#SingleInstance Force | |
MyUsername := "Onurtag" ;Go to %userprofile% and change this to the title of that window. Keep the quotes. | |
MyRecycleBin := "Recycle Bin" ;Go to your Recycle Bin and change this to the title of that window. Keep the quotes. | |
MyThisPC := "This PC" ;Go to your This PC and change this to the title of that window. Keep the quotes. | |
;You can delete below blocks if you don't want the features. Replace ^F with F3 if you are using that instead. | |
;BLOCK 1 - DESKTOP |
This file contains 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
; This is part of my AutoHotKey [1] script. When you are in Windows Explorer it | |
; allows you to press Ctrl+Alt+N and type a filename, and that file is created | |
; in the current directory and opened in the appropriate editor (usually | |
; [gVim](http://www.vim.org/) in my case, but it will use whatever program is | |
; associated with the file in Windows Explorer). | |
; This is much easier than the alternative that I have been using until now: | |
; Right click > New > Text file, delete default filename and extension (which | |
; isn't highlighted in Windows 7), type the filename, press enter twice. | |
; (Particularly for creating dot files like ".htaccess".) |
This file contains 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
LShift & Capslock:: | |
SetCapsLockState, % (State:=!State) ? "on" : "alwaysoff" | |
Return | |
g_AbortSendEsc := false | |
#InstallKeybdHook | |
SetCapsLockState, alwaysoff | |
Capslock:: | |
g_DoNotAbortSendEsc := true |
This file contains 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
;=====================================================================o | |
; Feng Ruohang's AHK Script | | |
; CapsLock Enhancement | | |
;---------------------------------------------------------------------o | |
; Modified by Colin Tang | | |
;---------------------------------------------------------------------o | |
;Description: | | |
; This Script is wrote by Feng Ruohang via AutoHotKey Script. It | | |
; Provides an enhancement towards the "Useless Key" CapsLock, and | | |
; turns CapsLock into an useful function Key just like Ctrl and Alt | |
This file contains 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
""" | |
Usage: python script.py search_string replace_string dir | |
Eg. python batchreplace.py galleries productions /Sites/cjc/application/modules/productions/ | |
And it will search recursively in dir | |
and replace search_string in contents | |
and in filenames. | |
Case-sensitive | |
""" | |
from sys import argv |