Created
March 8, 2016 00:10
-
-
Save neverendingqs/4f1999ac11e70d701200 to your computer and use it in GitHub Desktop.
autohotkey
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
#n::Run "C:\Program Files (x86)\Notepad++\notepad++.exe" | |
#c::Run "C:\Program Files\ConEmu\ConEmu64.exe" | |
#v:: ; Text–only paste from ClipBoard | |
Clip0 = %ClipBoardAll% | |
ClipBoard = %ClipBoard% ; Convert to text | |
Send ^v ; For best compatibility: SendPlay | |
Sleep 50 ; Don't change clipboard while it is pasted! (Sleep > 0) | |
ClipBoard = %Clip0% ; Restore original ClipBoard | |
VarSetCapacity(Clip0, 0) ; Free memory | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment