runany有个一键直达挺喜欢用的一个功能,想想影子可以安排上嘛,当然可以
一个命令打开注册表,打开网页,打开文件,打开路径,打开磁力链接,打开网盘下载,一个键解决所有需求,
看看示例
Clipboard:=""
SendInput,^c
ClipWait,1,1
if (RegExMatch(Clipboard,"S)^((2[0-4]\d|25[0-5]|[01]?\d\d?)\.){3}(2[0-4]\d|25[0-5]|[01]?\d\d?)$"))
Run,% ComSpec " /C ping " Clipboard " -t"
else if (RegExMatch(Clipboard,"S)^(\\\\|.:\\).*?\..+"))
Run,% Clipboard
else if (RegExMatch(Clipboard,"S)^(\\\\|.:\\)"))
Run,% Clipboard
else if (RegExMatch(Clipboard,"iS)^([\w-]+:\/\/?|www[.]).*"))
Run,% Clipboard
else if (RegExMatch(Clipboard,"iS)^magnet:\?xt=urn:btih:.*"))
run,% Clipboard ;test
else if (RegExMatch(Clipboard,"iS)(计算机\\|\\|)(HKEY_CLASSES_ROOT|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKEY_CURRENT_CONFIG|HKCR\\|HKCU\\|HKLM\\|HKU\\|HKCC\\).*")){
if(WinExist("ahk_exe regedit.exe")){
Process,Close,regedit.exe
}
Clipboard:=RegExReplace(Clipboard,"S)^(计算机\\|\\)+")
shell:=ComObjCreate("WScript.Shell")
shell.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey","计算机\" RTrim(Clipboard,"\"))
shell.Run("RegEdit.exe")
}
else
run,https://fsoufsou.com/search?q=%Clipboard%
return
?
这个怎么用?
添加到超级命令里!👍👍