作者lindo0130 (Lindo)
看板EzHotKey
标题Re: [AHK-] 缩写网址还原
时间Fri Aug 21 03:56:21 2009
刚好之前有写过,也是很简陋,请不要嫌弃它 0.0
url =
Code = %Clipboard%
StringLen, CodeLen, Code
if (CodeLen == 4)
url =
http://ppt.cc/%Code%
if (CodeLen == 5)
url =
http://0rz.tw/%Code%
if (CodeLen == 6)
url =
http://tinyurl.com/%Code%
if (CodeLen == 8)
{
if (RegExMatch(Code, "\d{8}") == 1) ; check if bdg or not
url =
http://www.badongo.com/file/%Code%
else
url =
http://www.megaupload.com/?d=%Code%
}
run, %url%
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.123.214.116
※ 编辑: lindo0130 来自: 140.123.214.116 (08/21 03:57)
1F:推 bohun:厉害厉害XD 08/21 21:50
2F:推 yourboss:其实有个小知识,ppt缩网址可以接任何码(4,5,6,8皆可 08/24 11:38
3F:→ yourboss:不过megaupload我就不知道了(应该没有吧 08/24 11:41
4F:推 bohun:这真是太厉害了= = 08/24 14:24
5F:→ lindo0130:只能靠常用4码了 0.0 像 tinyurl 其实也可以接不只6码 08/25 14:05