Code: Select all
#Persistent
OnClipboardChange:
Clipboard := RegExReplace(Clipboard,"htt(ps?)\://(?!customdomain\.|my\.customdomain|app.slack|sub.customdomain)(.*)","hXX$1://$2")
return
Code: Select all
#Persistent
OnClipboardChange:
Clipboard := RegExReplace(Clipboard,"htt(ps?)\://(?!customdomain\.|my\.customdomain|app.slack|sub.customdomain)(.*)","hXX$1://$2")
return
Code: Select all
#Requires AutoHotkey v1.1.33
#SingleInstance
Loop {
WinWaitActive ahk_exe chrome.exe
OnClipboardChange("fixClip")
SoundBeep 1500
WinWaitNotActive
OnClipboardChange("fixClip", 0)
SoundBeep 1000
}
fixClip(type) {
MsgBox 123
}
Code: Select all
#Persistent
OnClipboardChange:
IF WinActive("ahk_exe chrome.exe")
Clipboard := RegExReplace(Clipboard,"htt(ps?)\://(?!customdomain\.|my\.customdomain|app.slack|sub.customdomain)(.*)","hXX$1://$2")
return