Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Paste clipboard contents as plain text with AutoHotKey
; This is part of my AutoHotkey [1] script that pastes the contents of the
; clipboard as plain text when I press Ctrl+Alt+Shift+V.
; [1]: http://www.autohotkey.com/
; Ctrl+Alt+Shift+V
^!+v::
Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to plain text
Send ^v
Sleep 1000
ClipBoard = %Clip0%
VarSetCapacity(Clip0, 0) ; Free memory
Return
@djhir

This comment has been minimized.

Copy link

djhir commented Sep 3, 2018

thnaks bro

@zylantha

This comment has been minimized.

Copy link

zylantha commented Nov 26, 2019

Thank you! This miniscule script seems to work better than PureText+ which no longer works on the latest version of Windows 10. I just replaced the hotkey with "<#v::" (Windows+V) to align with what I've used for the last ten years with PureText+... AHK FTW!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.