Detect strings for lister plugins
Moderators: Hacker, petermad, Stefan2, white
Detect strings for lister plugins
I use nearly a dozen of lister plugins. And I've noticed that it takes a long time for lister to load (for the first time).
So I've created detect strings for lister plugins that don't have them.
Now lister runs significantly faster.
So here are these strings:
(add strings to [ListerPlugins] section of wincmd.ini,
you need to change a number at the begining of the line to plugin number in your list of plugins)
IEview (zero extension is added to handle directories - directories with any extensions will be passed to IEview)
1_detect="ext=""|ext="HTM"|ext="HTML"|ext="PLG"|ext="MHT"|ext="XML"|ext="XSL"|ext="PDF"|ext="DOC"|ext="DOT"|ext="XLS"|ext="VSD"|
ext="PPT"|ext="ASP"|ext="DRW" | ext="LWP" | ext="PRZ" |ext="WPD"|ext="QPW"|ext="ZIP"|ext="123"|ext="GZ"|ext="TAR""
Fileinfo
4_detect="ext="COM"|ext="EXE"|ext="DLL"|ext="SYS"|ext="DRV"|ext="WFX"|ext="WLX"|ext="WCX"|ext="SCR"|ext="VXD"|ext="OCX"
|ext="TSP"|ext="TSK"|ext="TLB"|ext="RLL"|ext="OLB"|ext="AX"|ext="ACM"|force"
Hpg_ed
5_detect="ext="BAS"|ext="C"|ext="CPP"|ext="CXX"|ext="DAT"|ext="H"|ext="HPP"|ext="HTM"|ext="HTML"|ext="INC"|ext="INI"|ext="INT"|
ext="JAVA"|ext="ME"|ext="PAS"|ext="PL"|ext="PM"|ext="PY"|ext="PYC"|ext="SQL"|ext="TXT"|ext="VB"|ext="VBS"|(force & (size<100000000))"
SynUs
6_detect="ext="PAS"|ext="DPR"|ext="DPK"|ext="INC"|ext="C"|ext="CPP"|ext="H"|ext="HPP"|ext="FOR"|ext="VBS"|ext="BAS"|ext="JAVA"|ext="HTM"|
ext="HTML"|ext="JS"|ext="PHP"|ext="PHP3"|ext="PHTML"|ext="XML"|ext="XSD"|ext="XSL"|ext="XSLT"|ext="DTD"|ext="PY"|ext="SML"|ext="BAT"|
ext="CMD"|ext="PL"|ext="PM"|ext="CGI"|ext="DSP"|ext="RDF"|ext="RIF"|ext="RMF"|ext="RXF"|ext="GWS"|ext="PRG"|ext="SQL"|ext="ASM"|
ext="DML"|ext="GEM"|ext="DFM"|ext="XFM"|ext="TCL""
Imagine
10_detect="ext="JPG"|ext="JPEG"|ext="GIF"|ext="PNG"|ext="BMP"|ext="PCX"|ext="TGA"|ext="PSD"|ext="TIF"|ext="TIFF"|ext="LBM"|ext="IFF"|
ext="FLI"|ext="FLC"|ext="SPR"|ext="PCD"|ext="JPC"|ext="JP2"|ext="J2K"|ext="PBM"|ext="PGM"|ext="PPM"|ext="RAS"|ext="SGI"
|ext="RGB"|ext="BW""
ICLview (plugin returns a string but I've changed it a little)
2_detect="ext="ICL"|ext="ICO"|(force & (ext="EXE"|ext="DLL"|ext="WFX" |ext="SCR"))"
But when I install a plugin or just move it using LS Plugins button in Lister configuration some of these lines became corrupted,
maybe they are too long...
So I've created detect strings for lister plugins that don't have them.
Now lister runs significantly faster.
So here are these strings:
(add strings to [ListerPlugins] section of wincmd.ini,
you need to change a number at the begining of the line to plugin number in your list of plugins)
IEview (zero extension is added to handle directories - directories with any extensions will be passed to IEview)
1_detect="ext=""|ext="HTM"|ext="HTML"|ext="PLG"|ext="MHT"|ext="XML"|ext="XSL"|ext="PDF"|ext="DOC"|ext="DOT"|ext="XLS"|ext="VSD"|
ext="PPT"|ext="ASP"|ext="DRW" | ext="LWP" | ext="PRZ" |ext="WPD"|ext="QPW"|ext="ZIP"|ext="123"|ext="GZ"|ext="TAR""
Fileinfo
4_detect="ext="COM"|ext="EXE"|ext="DLL"|ext="SYS"|ext="DRV"|ext="WFX"|ext="WLX"|ext="WCX"|ext="SCR"|ext="VXD"|ext="OCX"
|ext="TSP"|ext="TSK"|ext="TLB"|ext="RLL"|ext="OLB"|ext="AX"|ext="ACM"|force"
Hpg_ed
5_detect="ext="BAS"|ext="C"|ext="CPP"|ext="CXX"|ext="DAT"|ext="H"|ext="HPP"|ext="HTM"|ext="HTML"|ext="INC"|ext="INI"|ext="INT"|
ext="JAVA"|ext="ME"|ext="PAS"|ext="PL"|ext="PM"|ext="PY"|ext="PYC"|ext="SQL"|ext="TXT"|ext="VB"|ext="VBS"|(force & (size<100000000))"
SynUs
6_detect="ext="PAS"|ext="DPR"|ext="DPK"|ext="INC"|ext="C"|ext="CPP"|ext="H"|ext="HPP"|ext="FOR"|ext="VBS"|ext="BAS"|ext="JAVA"|ext="HTM"|
ext="HTML"|ext="JS"|ext="PHP"|ext="PHP3"|ext="PHTML"|ext="XML"|ext="XSD"|ext="XSL"|ext="XSLT"|ext="DTD"|ext="PY"|ext="SML"|ext="BAT"|
ext="CMD"|ext="PL"|ext="PM"|ext="CGI"|ext="DSP"|ext="RDF"|ext="RIF"|ext="RMF"|ext="RXF"|ext="GWS"|ext="PRG"|ext="SQL"|ext="ASM"|
ext="DML"|ext="GEM"|ext="DFM"|ext="XFM"|ext="TCL""
Imagine
10_detect="ext="JPG"|ext="JPEG"|ext="GIF"|ext="PNG"|ext="BMP"|ext="PCX"|ext="TGA"|ext="PSD"|ext="TIF"|ext="TIFF"|ext="LBM"|ext="IFF"|
ext="FLI"|ext="FLC"|ext="SPR"|ext="PCD"|ext="JPC"|ext="JP2"|ext="J2K"|ext="PBM"|ext="PGM"|ext="PPM"|ext="RAS"|ext="SGI"
|ext="RGB"|ext="BW""
ICLview (plugin returns a string but I've changed it a little)
2_detect="ext="ICL"|ext="ICO"|(force & (ext="EXE"|ext="DLL"|ext="WFX" |ext="SCR"))"
But when I install a plugin or just move it using LS Plugins button in Lister configuration some of these lines became corrupted,
maybe they are too long...
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
To plugin authors:
It would be nice if you could create such detect strings yourself! It would keep TC from loading your plugin every time lister is loaded. The function ListGetDetectString is used to set the detect string.
It would be nice if you could create such detect strings yourself! It would keep TC from loading your plugin every time lister is loaded. The function ListGetDetectString is used to set the detect string.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
An important feature I would like to see in TC (ok, it's probably too late for TC6 ...) is the ability to trigger Lister without loading plugins. I know I can set the option, but if in normal usage I want plugins to load, and only once want to directly view the raw file, I have to wait. Something like Ctrl+F3 to cm_ListRaw
2oblomov
you can use the external lister program which AFAIK doesn't work with plugins
http://www.ghisler.com/lister/
you can use the external lister program which AFAIK doesn't work with plugins
http://www.ghisler.com/lister/
2Jonas
I wanted to show a way to show lister without plugins. At least on my computer with the most recent external lister it's possible.
Anyway, I'm interested on how to make the external lister using plugins.
The external lister config dialog looks different from the one in Total Commander. Can you confirm this?
http://members.fortunecity.de/lefteous/lister_cfg.htm
How to use the same lister config in internal and external version. The /I switch doesn't work for me.
I wanted to show a way to show lister without plugins. At least on my computer with the most recent external lister it's possible.
Anyway, I'm interested on how to make the external lister using plugins.
The external lister config dialog looks different from the one in Total Commander. Can you confirm this?
http://members.fortunecity.de/lefteous/lister_cfg.htm
How to use the same lister config in internal and external version. The /I switch doesn't work for me.
The config looks exaclty the same. And in fact, I haven't done anything to make it work... I simply installed the external version because I wanted to use it as HTML-source-lister for Opera. I told Opera to use the external Lister, pressed Alt-F3 and the lister started with the SynUs-plugin.
Perhaps inireloc has something to do with it... I used this software once to put the .ini-files in TC's Programm-dir. The External Lister is installed in a subdir of this.
Perhaps inireloc has something to do with it... I used this software once to put the .ini-files in TC's Programm-dir. The External Lister is installed in a subdir of this.
Christian, the fact that TC doesn't requery ListGetDetectString (even when plugin is updated) really stresses me.
How do you think, is it good if my plugin will update detect string in wincmd.ini itself? TC calls ListDefaultParamStruct, telling us wincmd.ini directory; then I could use WritePrivateProfileString. What do you say?
How do you think, is it good if my plugin will update detect string in wincmd.ini itself? TC calls ListDefaultParamStruct, telling us wincmd.ini directory; then I could use WritePrivateProfileString. What do you say?