Skip to content

Instantly share code, notes, and snippets.

@jolij
Created November 1, 2015 06:20
Show Gist options
  • Save jolij/adf3368949ee8cf609da to your computer and use it in GitHub Desktop.
Save jolij/adf3368949ee8cf609da to your computer and use it in GitHub Desktop.
AutoHotKey: Paste clipboard contents as plain text
; 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
@ymyusuf
Copy link

ymyusuf commented Nov 27, 2022

God bless you, how can I make clipboard to increase By 1 in the next paste e.g if i paste 1, next paste to become 2 automatically and so on in AHK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment