作者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