Created
July 30, 2023 15:54
-
-
Save 0nelight/70a715e6e1ed0fc70c3ebd7336a1ef26 to your computer and use it in GitHub Desktop.
This script removes occurence of "mailto" when Copy/Pasting text
This file contains hidden or 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
;Autohotkeyscript to remove "mailto:" in front of Copy/Paste | |
;Download https://www.autohotkey.com/ | |
;https://www.autohotkey.com/docs/v2/lib/A_Clipboard.htm | |
Persistent | |
OnClipboardChange ClipChanged | |
ClipChanged(clip_type) { | |
result := RegExReplace(A_Clipboard,"mailto\:(.*)","$1") | |
if result | |
A_Clipboard := result | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment