summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2022-07-15 13:40:53 +0100
committerPeter2022-07-15 13:40:53 +0100
commit2dc41deeafdf5dc8a28c0ec0682a0574148e05cf (patch)
tree5c894482944c6ec170af520692d44b57237cbe1c
parent8589f5db278166bb2058a79bdc015da0fb2f3d08 (diff)
downloadahka-2dc41deeafdf5dc8a28c0ec0682a0574148e05cf.tar.gz
ahka-2dc41deeafdf5dc8a28c0ec0682a0574148e05cf.tar.bz2
ahka-2dc41deeafdf5dc8a28c0ec0682a0574148e05cf.zip
Remove HTTP(S) prefixes
-rw-r--r--ahk-assistant.ahk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index da08a6a..ac075e3 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -639,6 +639,8 @@ pasteClipboard() {
StringReplace, tempClipboard, tempClipboard, +44,0, All ; remove international dialling code without a space
StringReplace, tempClipboard, tempClipboard, `r,, All ; remove half of line breaks
StringReplace, tempClipboard, tempClipboard, `n,, All ; remove other half of line breaks
+ StringReplace, tempClipboard, tempClipboard, https:,, All ; remove other half of line breaks
+ StringReplace, tempClipboard, tempClipboard, http:,, All ; remove other half of line breaks
tempClipboard = %tempClipboard% ; trim whitespace
SendRaw %tempClipboard%
tempClipboard =