Created
November 21, 2020 14:28
-
-
Save KeyC0de/6f9f5d928b7d72810b867aa24585c3f3 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
^g:: ; 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! | |
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