EmptyWDX 0.0.2

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

EmptyWDX 0.0.2

Post by *fenix_productions »

EmptyWDX is content plugin which shows information about files availability in specified folders.

It supports wildcards and regular expressions search. It also allows to have up to 20 customizable fields.

This plugin supersedes WDXContains.

Download:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/EmptyWDX%7C_0.0.2.zip

Alternative download (please, use only is there are problems with the link from above):
http://fenixproductions.dcmembers.com/tmp/tc/EmptyWDX_0.0.2.zip

Sources:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/EmptyWDX%7C_0.0.2%7C_src.zip

CRC:

Code: Select all

7044b4256c03689473b6bfd3f30c9702 *EmptyWDX_0.0.2.zip
Last edited by fenix_productions on 2009-07-11, 19:16 UTC, edited 2 times in total.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

The link goes to a version from 5/31/2009. I have a version 3 that is dated 6/01/2009. Which is the most current version?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Boofo
Fixed. Thanks for noticing it.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Bad ZIP

Post by *Clo »

2fenix_productions

:) Hello !

• I got an error message attempting to open the ZIP :
«Error in the file …\ EmptyWDX__0.0.2.zip»
EmptyWDX__0.0.2.zip 65 665 11/07/2009 18:03 -a--

:?:

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Clo
Looks like download error to me. It should have 70851B.

Code: Select all

7044b4256c03689473b6bfd3f30c9702 *EmptyWDX_0.0.2.zip
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Crazy server---

Post by *Clo »

2fenix_productions

:) Again…

• I downloaded the ZIP again from TC Ctrl+N, and it's worse :
EmptyWDX__0.0.2.zip 57 808 11/07/2009 20:56 -a--
- Note : I never suffer such download issues here …
- I try with Opera now.

EDIT : Works from Opera (opens the page…)

:mrgreen: KR
Claude
Clo
Last edited by Clo on 2009-07-11, 20:06 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
wenntel
Junior Member
Junior Member
Posts: 18
Joined: 2008-10-20, 16:53 UTC

Post by *wenntel »

Just started using this plugin and it's great!

but it has 2 bugs: (see example filter)
(1) it only shows filter#1 the rest of the colomn stay empty, even if the folders contain those filetypes
(2) 1_type=1 still shows [Yes/No], it should be [x]

[WDXContains]
1_filter=*.zip
1_type=1
1_Name=ZIP
2_filter=*.rar
2_type=0
2_Name=RAR
3_filter=*.7z
3_type=1
3_Name=7zip
4_filter=*.arc | *.arj | *.uc2
4_type=1
4_Name=LEGACY

PS:
bug is confirmed bij Ghisler:
http://ghisler.ch/board/viewtopic.php?p=207146#207146
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
wenntel
Junior Member
Junior Member
Posts: 18
Joined: 2008-10-20, 16:53 UTC

Post by *wenntel »

Seems to work now. Thank you very much for your time and effort!

I have 2 remarks/requests:
(1) the current extension parameter is case-sensitive; can you add an option to turn this off?
Now to match a zip archive I have to add *.zip|*.ZIP|*.Zip (etc...)

(2) the search is only done in 1 directory-level deap. Could you add a option to search deaper?
Will probably slow the plugin down sometimes but now, for example: when searching for zip archive in C:
[C:\downloads-old\test.zip] is found and matched
but
[C:\documents\downloads\hello.zip] will not be found and the directory [C:\documents] will NOT be marked
User avatar
adom_sapek
Junior Member
Junior Member
Posts: 39
Joined: 2011-07-12, 06:59 UTC
Location: poland

Post by *adom_sapek »

I'd like to bump that topic since what wenntel pointed out (1 and 2) would be very useful improvement.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2adom_sapek
I will try to find some time for idea #2.

For #1 it looks it its already there! I forgot completely that I've implemented regular expressions when this plugin was called WDXcontains. I am not sure is it still fully working but I've just made sample test with EmptyWDX.ini:

Code: Select all

4_filter=(?i)(.*zip$)
4_type=0
4_Name=zip-reg
4_IsRegex=1
Try it yourself! You just need to add #_IsRegex=1 (where # is field numer) to desired filter and use RegExp for #_filter=.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
adom_sapek
Junior Member
Junior Member
Posts: 39
Joined: 2011-07-12, 06:59 UTC
Location: poland

Post by *adom_sapek »

well, frankly speaking it works already - not case sensitive extentions - no need to use regexp - looks like it's been implemented already - just don't know how I missed this one :)

2fenix
if you FIND some time :) you could add a possibility to configure booleans inside ini file, something like:

...0 = 'no'
...1 = 'yes'

or

...0=''
...1='x'

so no need for #_type=# field anymore - or not (if there is some other purpose it's being used for that i'm not aware of).
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

Hi Karol,

I did have to port some TC Config to 64Bit and EmptyWDX is not yet ported !
AS i did find the source code of 0.0.3b i did compile it and all workd OK.

// The only issue i had to take into account is that ininame calculation gess extension length of the module is 3 char only. I did changed the the two last instructions of GetIniName function !

Code: Select all

void GetIniName(){
    TCHAR szAppPath[MAX_PATH];
    DWORD nr = GetModuleFileName(GetCurrentModule(), szAppPath, sizeof(szAppPath));    
	ininame.assign(&szAppPath[0], &szAppPath[nr]);
        // Modification to take into account wdx and wdx64 extensions
	int lenExt = ininame.length() - ininame.find_last_of(L".") ;
	ininame.erase(ininame.end() - lenExt, ininame.end());
	ininame.append(L".ini");	
}
---Edited did mess up with code
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2nsp
You have my full agreement to make any changes you'd like to (and get some dollars from Christian for doing it) :)

I will just ask to re-upload it to totalcmd.net after all work.

As real life held me I have no longer the time to work on my old plugins, unfortunately.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Post Reply