Created
February 6, 2019 11:59
-
-
Save Shilo/4100c7abffc2ed9675c64bcfba31ac5b to your computer and use it in GitHub Desktop.
AutoHotkey script to replace selected text.
This file contains 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
^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
How to replace the selected text with html tag? eg. replace the selected text
私
to<ruby>私<rt></rt></ruby>
?