显示标签为“hacking”的博文。显示所有博文
显示标签为“hacking”的博文。显示所有博文

2008年10月5日星期日

TCShell2 1.5.7: Associate .rar/.zip/etc with Total Commander

1.5.7 (2008-10-05)
* Archive associations:
|+ Now you can double click to set the description for an extension
|+ Support jar/xpi/r00/r01 as TC's built-in archive
|+ Refresh archive associations after Apply clicked
- Fixed a bug when restoring old associations
+ Support opening in source/target panel ( /S )

下载:
http://sites.google.com/site/bamanzi/tcshell2/TCShell2-1.5.7.zip?attredirects=0
http://bamanzi.inlsd.org/win32/totalcmd/TCShell2-1.5.7.zip

2008年9月26日星期五

更新: Dictionary Tooltip支持爱词霸的脚本

更新了一下Dictionary Tooltip支持金山爱词霸网站(http://www.iciba.com)的脚本。不打算支持stardict.org了,网站太慢,开放的词典太少。

Dictionary Tooltip是个Firefox扩展,可以让你双击一个单词就在线去查词典,将结果显示出来(不是新开一页,而是在当前页内显示,可以过滤不相关的内容)。

将以下内容添加到(firefox profile)
/dictionarytip/dictionarytip_dictScript.js尾部即可。

--- 8< --------------------------------------------------------------
dtip_arrDict[19]=
{
dictName : "www.iciba.com",
url : "",
subCatName : " *",
subCatValue : " *",
selectedText : "",
assignUrl : function(selectedText, prefLang)
{

this.url = " http://www.iciba.com/" + selectedText + "/";
this.selectedText = selectedText;
},
filterPage : function (ftDoc, prefLang, strNoResults)
{
try
{
var elemId = "dict_content";

var newDiv = "";
if (ftDoc.getElementById(elemId) != null)
{
newDiv = ftDoc.getElementById(elemId).cloneNode(true);

ftDoc.body.innerHTML = newDiv.innerHTML;
}

}
catch (ex)
{
alert(ex);
}
}
}
dtip_strDictText += ";www.iciba.com"
--- >8 --------------------------------------------------------------
(2008-10-5 更新: 做了补充说明,并修订了一下脚本)

2007年11月2日星期五

TCShell2 1.5.6

TCShell2: Associate your archives with Total Commander

Changes from 1.5.2
* Now based on ProgMan13's 1.3.6 (he didn't publish it on totalcmd.net), which
+ Added support for different wincmd.ini
+ Fixed bug while parsing command line
+ Guess location of wincmd.ini (COMMANDER_INI, then registry, then totalcmd.exe's path)
+ Added an edit box to show the command line

Download (source code included)
http://bamanzi.inlsd.org/win32/totalcmd/TCShell2-1.5.6.zip

Screenshots:
http://bamanzi.inlsd.org/win32/totalcmd/tcshell2-archives.gif

--------------------------------------------------
If you have Total Commander, then you don't need WinZip, WinRAR any more. These archives can be opened and handled in TC.

But some times, you may wonder: If I need to launch an archive file from my download manager, or from my e-mail, I really need an application to handle the association.

No problem, actually you can associate .zip with Total Commander, TC would take the command line parameter as directory name.

Then another problem comes that how can you associate .zip/.rar/.7z with TC? Yes, you can always do that by editing registry. But it's not handy.

Now try TCShell2, the modified version of TCShell, which can also handle archives supported by packer plugins. (Don't associate TC with some important extensions, such as .exe, .chm)

Code based on ProgMan13's code for TCShell-1.3.6. Thanks for his generious to allow me to use his code.