
[WFX] VirtualPanel: Temporary panel for TC
Moderators: Hacker, petermad, Stefan2, white
GREAT !!!!!MVV wrote:Just read the previous topic page to know about the secret recursive flag for <save command.But it seems that <save should be always recursive (all old versions worked in that way)... I think I'll document /r flag for <save command.
I was on vacation at end of august and missed this interesting discussion

:Suggestion:
Could it be possible to have a kind of export which append to existing file ?
And/OR having multiple mask
<export d:\x.lst . *.exe *.ini a*.zip | z*.*
Just wanted to avoid to manage multiple temporary filenames from my batch. I also try to find a way to get exported list filtered as i see in TC.MVV wrote:I think you can join listings yourself and it should work even with compact list format (first line of every list is always full so no problem here). Every listing ends with line break so it is possible to use even copy /b list1+list2+list3 listOut command.
I also noticed that i cannot use anymore <exec \VPProg\MyBatch if MyBatch is a cmd file.
It is much slower to handle multiple masks, you need to check every mask for every file (MxN checks). And, it is bad idea to allow list appending because generic formats/encodings/etc may differ.
You can also try <exec cmd.exe /c ""yourbatch" parameters"...
Works for me...I also noticed that i cannot use anymore <exec \VPProg\MyBatch if MyBatch is a cmd file.
You can also try <exec cmd.exe /c ""yourbatch" parameters"...
I do not understand your "much" slower !MVV wrote:It is much slower to handle multiple masks, you need to check every mask for every file (MxN checks). And, it is bad idea to allow list appending because generic formats/encodings/etc may differ.
If i use 4 masks like *.exe *.cmd *.ini *.zip with N Files, you do not have to do 4*N tests (only on the worst case). The first match should stop evaluation. You only process one file list against 4 masks sequentially.
If you do not have the feature and need the same result :
You process 4 times : one list against one mask ( already slower than the wost case of having 4 mask processed against on list) you join files and you delete files... What seems to be slower ?
You ague that appending can cause trouble because it is not the same format, i think this is up to the user to know about it. If i must use copy 1.txt + 2.txt + 3.txt in 6.txt the resulting file will correspond to what was defined and if i mixed unicode ansi and utf8 this is up to me.
I can also understand that you find those features completely useless and do not plan to implement it.
My idea is to build easily a %L from VP using export from a node as simple as :
cmd /c
VPBATCH ^^export "d:\tmp\VPList.txt" . %S & doMyStuff.cmd d:\tmp\VPList.txt
--Edit I also know that the list should be directly created from TC But it is in very very very difficult to get it from C.G.

You can test new version before I release it.
Virtual Panel 2.0.6.1250:
+ <convert command
+ multiple include/exclude masks support in <for, <export, <save commands
+ append list flag for <save, <export commands
* null characters in ANSI exported lists
Test buttonbar button for <convert:
Translators, there are some changes in LNG (some new flags), please check it.
Virtual Panel 2.0.6.1250:
+ <convert command
+ multiple include/exclude masks support in <for, <export, <save commands
+ append list flag for <save, <export commands
* null characters in ANSI exported lists
Test buttonbar button for <convert:
Code: Select all
Command: VPBatch.exe
Parameters: ^convert %F %F.lst .
Translators, there are some changes in LNG (some new flags), please check it.
It works also using %L if i do not add terminal "."MVV wrote:You can test new version before I release it.
Virtual Panel 2.0.6.1250:
+ <convert command
+ multiple include/exclude masks support in <for, <export, <save commands
+ append list flag for <save, <export commands
* null characters in ANSI exported lists
Test buttonbar button for <convert:Code: Select all
Command: VPBatch.exe Parameters: ^convert %F %F.lst .
Translators, there are some changes in LNG (some new flags), please check it.
The multiple masks using {} as delimiters works fine, single mask do not need braces for backward compatibility it is good !
Appending is not working properly. /e option works like /f. (No warning if file exists but not appending)
Yes, it works, and Readme tells about that. But processing of just names is faster (don't need to strip \\\Virtual Panel\ part, also filelist is smaller).
Braces {} are needed only because of spaces between masks that shouldn't break single parameter, i.e. you can use something like this:
And I don't need to write any code to parse parameters in braces, it is already done for inner scripts.
Single mask (*.exe or even |*.exe) doesn't contain extra spaces so works here.
Hm-m, really doesn't work (but it did
), thanks for the report.
Sh#t, I reverted that function to older version after modifying...
Please download fixed version.
Braces {} are needed only because of spaces between masks that shouldn't break single parameter, i.e. you can use something like this:
Code: Select all
{"hello world.*" "12 34.*" | bla-bla-bla}
Single mask (*.exe or even |*.exe) doesn't contain extra spaces so works here.
Hm-m, really doesn't work (but it did

Sh#t, I reverted that function to older version after modifying...

Please download fixed version.
Version 2.0.6.1252 fix it ! Save and export really appending to file !MVV wrote: Hm-m, really doesn't work (but it did), thanks for the report.
Sh#t, I reverted that function to older version after modifying...
Please download fixed version.
This is a big "Merci !" for those very useful enhancement !
New Danish translation can be downloaded at http://madsenworld.dk/tcmd/wfx_VirtualPanel_2.0.6.1252_Danish.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
petermad, thanks, please translate also new flag for <save and <export commands (flag 'e').
I've made <convert faster when %F used in deep folders (search begins from folder handle and not from root as in case of %L so only one level is processed).
Beta 1254
e - append list
I've made <convert faster when %F used in deep folders (search begins from folder handle and not from root as in case of %L so only one level is processed).
Beta 1254
Last edited by MVV on 2012-10-20, 18:20 UTC, edited 1 time in total.
2MVV
I have updated the translation - please redownload (same link)
It is not easy to spot the differencies between the new and old lng file in a 2384 charaters long line !
I have updated the translation - please redownload (same link)
It is not easy to spot the differencies between the new and old lng file in a 2384 charaters long line !
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2 MVV
Updated Czech translation (v2.0.6.1254) you can find here: http://ghisler.ch/board/viewtopic.php?t=35471
Updated Czech translation (v2.0.6.1254) you can find here: http://ghisler.ch/board/viewtopic.php?t=35471