[REQ] for WdxInfoPacker plugin

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

nevidimka wrote:It's a bit confusing because TC internal Lister shows this WIP files as HTML
In fact it depends on your lister configuration AND if there are some html tag in the wip files :wink:
TC#88260 -
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2franck8244
Hi,

I'm trying to replace my tool List To Clipboard by CopyWdxInfo2Clip.exe. It doesn't work for me. I just get a console window ( :shock: ) but nothing is copied to clipboard.
I defined a scheme Owner. I called the program this way:

Code: Select all

/L:%L /S:Owner
I have copied all related files to the same directory although I think this shouldn't be necessary.
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

2Lefteous
It has been a long time that I haven't work for CopyWdxInfo2Clip.exe.

Which wdx plugin are you trying to use ?

I made a few test :
scheme with only %P%N -> it works
scheme with %P%N and Imgsize.wdx info -> it works
scheme with %P%N and wdx info Imgsize : OK and Shelldetails : KO
I haven't the time at the moment to check the code of wdxInfoPacker (as CopyWdxInfo2Clip.exe simply pass filenames to the wcx). I'll try to see what can be done asap
TC#88260 -
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2franck8244
Which wdx plugin are you trying to use ?
ShellDetails. The information is properly saved to a test file using the WdxInfoPacker packer plugin.

%L should work as well as this is the example in the readme file.

Thank you for your investigations!
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Parameters for Copy...
/L:%L : to simply get the temporary file created by tc containing the list of files to process
/S:SchemeName : the scheme in scheme.ini (or other name) to be used

I created a button with parameter : "?/L:%L /S:Test"

to check the temporary file name (wich of course is correctly created)

I modified accordingly to my test the scheme "Test"

Select N files -> run CopyWdx... -> when the "dos box" is closed 'paste' result into a blank file -> even with no value N+1 blank lines should be created


IIRC during the developpement of CopyWdx...Icfu reported a similar problem with shelldetails and I haven't find out why ...

Someone might have the time to create a small exe :
CopyWdxInfo2Clip calls 'special functions' in WdxInfoPacker (that's not a good way...)
By using wdxinfo directly with the following step:
-Copy the wanted scheme into the "RunTemp" section of 'scheme.ini'
-Use wdxInfoPacker to create a temporary txt file (working with shelldetails)
-Read this file & copy its contain to the clipboard
-Remove the tmp file

a better job can be done and would decrease the size of WdxInfoPacker (by removing all 'special functions'...

I cannot do this now because I have problem with delphi's compiler on my centrino...

Apart : I willl also be unable to compile the new version of wdxInfoPacker which contains :
- Add "MyText" Every N files (useful to create html tables limited to N files per row)
- Add a counter (N number) at the beginning of the line ...
TC#88260 -
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2franck8244
The copy program really seems to have problems with ShellDetails. I have tried other plugins and they work fine. Thanks again for your help!
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

The plugin has quite some potential just a few minor glitches ;) I can confirm that columns with a # don't work here either. I use Super_wdx and its column names contain a # by design. When I use this I get the error:
Syntax error in the name of the plugin
SUPER1_1WDX.wdx was find...Verify it please !
The process will continue but this value will be empty.

I think your error means to say that it wasn't found ;) The strange thing is though that the plugin is called with @Mod=SUPER_COLUMN #1@SUPER_WDX.wdx and your error says SUPER1_1WDX.wdx. The filename is super_wdx.wdx

When I am editing a scheme, the + sign which brings up the wdx plugins, is listing the plugins twice but only the first set has the arrows to make any further selection.

When a wdx plugin cannot be found, a warning is shown now. This is nice if you have 1 or 2 files but with a directory full it is annoying to have to press the warning every time, may I suggest a cancel or always accept button?

The way the " (apostrophe) is handled is not correct. I have the following code:

Code: Select all

<img src="file:///%P%D%M" Border="0" HEIGHT=";@Mod=Height@ImgSize.wdx;%" Width=";@Mod=Width@ImgSize.wdx;%">
This is comes out as:

Code: Select all

<img src="file:///f:\Downloads\Norge\default0.asp_files\0A7B04027ACA46F0BDE838BC2A3DE6A3.gif" Border="0" HEIGHT="60 Width="150>
As you can see the apostrophes are missing behind height and width.

Finally, I too am missing the wdx options from TC itself :(
Registered user #92105
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

botak wrote:I can confirm that columns with a # don't work here either
The problem here is NOT # but the "_" (underscore) in the plugin name ...
-> Internally this plugin replace undercore by "1_1" and remove them afterward... (you can rename this plugin and it will work ...)

Tbeu's problem is that # in a submenu made the plugin crash. I told him that those kind of entry can be write manually and work fine...
botak wrote:The way the " (apostrophe) is handled is not correct. I have the following code
I'm aware of this problem (though, it was working before, I'll have to check what I have change...)
botak wrote:Finally, I too am missing the wdx options from TC itself
You can use the sample wdx plugin provided by C. Ghilser :)
because I won't recreate it...

As I said a few post above, I can NOT compile a new version 'right now', if anyone is willing to help he can uses the provided (complete) source code (it's in delphi 6 -quite "easy" because this was my first "big" project in this language-)...
TC#88260 -
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Thanks for the quick reply :)
(you can rename this plugin and it will work ...)
I will rename it and check it out
You can use the sample wdx plugin provided by C. Ghilser :smile:
because I won't recreate it...
I was not aware that they are in there :?
As I said a few post above, I can NOT compile a new version 'right now', if anyone is willing to help he can uses the provided (complete) source code (it's in delphi 6 -quite "easy" because this was my first "big" project in this language-)...
I wish I could but I can only program in PHP and don't have a Delphi compiler :roll:

As soon as I finished my Dutch translation, I will email it to you :o
Registered user #92105
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

2all
A new version is available
here

Code: Select all

Many bugs fixed !
Added a few options (counter / string in the final file)
Removed CopyWdxInfo2Clip functionnalities
2rolandd
I forgot to include your lng file into the archive, can you send me the updated file (and then I'll update the archive), Thanks in advance
TC#88260 -
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2franck8244
Thanks for the update!
But why you removed the nice copy to clipboard utility?
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

But why removed the nice copy to clipboard utility?
1- to have this kind of reaction (icfu :wink: )
2- maybe to make a better one (that'll work with shelldetails & co :)
TC#88260 -
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

to have this kind of reaction (icfu )
:mrgreen:

Icfu
This account is for sale
mfJ
Junior Member
Junior Member
Posts: 4
Joined: 2006-09-09, 00:14 UTC
Location: Russia, Samara

Post by *mfJ »

hi!

Got a trouble. The trouble's name is Media Player Classic playlist via WDXInfoPacker.
ok.. here is the target:

Code: Select all

MPCPLAYLIST
1,type,0
1,filename,D:\Damn\Bloodhound Gang - Along Comes Mary.mpg
2,type,0
2,filename,D:\Damn\50 Cent - Candy Shop.vob
and all I can do using WDXInfoPacker is here:

Code: Select all

MPCPLAYLIST
1,type,0
2,filename,D:\Damn\Bloodhound Gang - Along Comes Mary.mpg
3,type,0
4,filename,D:\Damn\50 Cent - Candy Shop.vob
I did it using next code:

Code: Select all

[Playlist MPC | mpcpl]
use="bhj"
Extension=".mpcpl"
Divider=","
header=""
before="type,0%Lfilename,%P%N"
name=""
between=""
wdxinfo=""
after=""
footer=""
ExtensionList=""
AdditionalText="MPCPLAYLIST"
AddCounter=1
DoNotWriteEmpty=1
SaveErrorLog=1
MaxRight=0
IntervalNbr=0
CounterLength=1
CounterPos=1
Got any ideas?
tnx a lot!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Not doable right now with the plugin...

For playlists you can use this new tool:
Choose Media Player

Adjust the MPC section like that:

Code: Select all

[MPC]
Button_Display = 0
Player = <path to>mplayerc.exe
Filter = mp3;wma;wav;mid
Extension = mpcpl
WindowState = 1
FirstLine = MPCPLAYLIST
CodeLine = $COUNTER_,type,0$CRLF_$COUNTER_,filename,$FULLFILENAME_
EndLine = 
CommandLine = "$PLAYLIST_"
WritingMode = 0
AppendPosition = 0
RetrieveRegExp =
RetrieveRegExLeft =
RetrieveRegExRight =
Unicode  = 
Then create a button:

Code: Select all

Command: <path to>TC2MP.exe
Parameter: MPC:%L
Then just mark the files you wanna play and press the button. The playlist will be autocreated in ChooseMediaPlayer directory – TC2MPlaylist.mpcpl – and send to MPC.

Of course, this is only needed when you really want to create .mpcpl-playlists, otherwise the default section in TC2MP.INI will work 'cause MPC can eat .m3u.

You can also always find the present MPC playlist in the directory %appdata%\Media Player Classic\, the file default.mpcpl will be autocreated by MPC! So, this means that you can also use ChoiceEditor or Open File shell For TC to send files to MPC and then just copy the playlist to where you like.

Icfu
This account is for sale
Post Reply