Autohotkey Scripts

I’ve been working on these scripts based on the terrific AutoHotkey site.

I’ll post more of these as I get them out.

Paste As Plain

First- a way to press Windows-V and paste clipboard text as plain text:

#v:: ; Text?only paste from ClipBoard

Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to text
Send,^v
Sleep 50; Don’t change clipboard while it is pasted! (Sleep > 0)
ClipBoard = %Clip0% ; Restore original ClipBoard
VarSetCapacity(Clip0, 0) ; Free memory

Return

Leave a Reply