Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AutoHotkey script to replace selected text.
^space::
oCB := ClipboardAll
Clipboard =
Send ^c
ClipWait,1
beforeText := "BEFORE_TEXT_HERE"
afterText := "AFTER_TEXT_HERE"
Clipboard := beforeText . Clipboard . afterText
Send ^v
Clipboard := oCB
Return
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.