[WFX] VirtualPanel: Temporary panel for TC

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *Hurdet »

Hurdet wrote: 2020-09-14, 06:51 UTC I opened un TC bug.
TC 10B1 seems to have fixed the bug.
But I every problem with file in subfolder. Do it is difficult to fix VPBatch.exe to handle path in file list without /*.* ?
Again VPBatch.exe break when have a unicode filename.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *MVV »

VPBatch does nothing itself, it passes command to VP in active TC instance, and VP performs <convert command.
quantum
Junior Member
Junior Member
Posts: 49
Joined: 2004-02-29, 01:42 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *quantum »

MVV wrote: 2021-02-26, 09:43 UTC
quantum wrote: 2020-01-08, 02:58 UTC Using an <explore window, in the toolbar, icons 1,2,4,5,6,8,9,10,11 are missing.
MVV wrote: 2020-01-09, 06:16 UTC There were some similar reports, but unfortunately I can't reproduce this problem, Virtual Explorer panel looks OK for me in both 32-bit and 64-bit TC. It would be nice of course to find the reason. All icons are taken from running TC executable and WCMICONS.dll library so should be available in any TC version.
It seems that I forgot to mention it, this bug was fixed in beta 1376. It was caused by improper loading of 32-bit icon library in case of 64-bit TC.

Virtual Panel Beta 1376
Confirmed, toolbar icons show as expected with beta 1376.
adoeller
Junior Member
Junior Member
Posts: 83
Joined: 2011-05-23, 09:47 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *adoeller »

1031.lng - German

Code: Select all

; VirtualPanel German

[Virtual Panel]
; Hardcoded messages - be careful with format parameters like "%s" and "%X"
1=&Ja
2=&Nein
3=Ab&bruch
4=Ja für &alle
5=N&ein für alle
6=Fehler beim Schreiben der Konfigurationsdatei!\n\n%s\n\nBitte überprüfen Sie Ihre Zugriffsrechte für diese Datei.
7=Verfügbare interne Befehle:\r\n\r\n\r\nadd [/[r][f]] <virtual_path> [{<physical_path_or_script>}]\r\n\t(r - Zwischenordner erstellen, f - vorhandene ersetzen)\r\ncd <virtual_path>\r\n\r\nconfig\r\n\r\ndeflist <filelist_path>\r\n\r\ndel [/[r][f][d[!]]] <virtual_path_and_mask>\r\n\t(r - rekursiv, f - auch schreibgeschützt, d[! ] - [nur] Verzeichnisse))\r\neas {<autoupdate_script_name>|<mask>}\r\n\t(1 - autoupdate, 2 - immer, 4 - >Autoexec, 8 - nicht fragen, 16 - >Shutdown)\r\nedit <virtual_path> [<new_script_or_real_path>]\r\n\r\nexec [/w] <command> [<parameters>]\r\n\t(w - warte auf Beendigung)\r\nexit\r\n\r\nexplore [<virtual_path>]\r\n\r\nexport [/[a][f][r]] <filelist_path> [<virtual_path>]\r\n\t(a - use ANSI encoding, f - overwrite existing, r - recursively)\r\nfor [/[d[!]] [%<symbol>] <virtual_path> <mask> {<script_to_execute>}\r\n\t(d[!] - dirs [only])\r\nifcond {<condition> @ <virtual_path>} {<script_if_true>} [{<else_script>}]\r\n\t(a[a|c|d|h|r|s|A|C|D|H|R|S], date[now|YYYYMMDD], time[now|HHMM], size, script, valid, like "<mask>")\r\nifdef "<parameter>" {<script_if_defined>} [{<else_script>}]\r\n\r\nifexist "<virtual_path_and_mask>" {<script_if_exists>} [{<else_script>}]\r\n\r\nifok "<question_text>" {<script_if_ok>} [{<else_script>}]\r\n\r\nlang <language>\r\n\r\nload [<filelist_path> [<virtual_path>]]\r\n\r\nlog {<full_path_to_file>|<mask>}\r\n\t(1 - actions, 2 - operations, 4 - set attributes, 8 - enum files actions, 16 - scripts)\r\nmove <virtual_path> <new_virtual_path>\r\n\r\nproperties\r\n\r\nput [/[a][l][d[!]]] <virtual_path> <physical_path_and_mask>\r\n\t(a - autorename if exists, l - treat files as filelists and parse, d[!] - dirs [only])\r\nsave [/[a][f][m][o]] [<filelist_path> [<virtual_path> [<mask>]]]\r\n\t(a - ANSI-Kodierung verwenden, f - Vorhandenes überschreiben, m - wenn geändert, o - Liste im Vollformat)\r\nsilent\r\n\r\ntgmove <virtual_path> <physical_path>\r\n\r\n\r\nInterne Befehle müssen mit '<' beginnen. \r\nSie müssen das '%'-Zeichen verdoppeln, um es in Skriptdateien zu verwenden.\r\nDer Parameter wird abgefragt, wenn er das '?'-Zeichen enthält.\r\nSiehe Readme für weitere Details.
8=Konfiguration:\r\n\r\n\r\nKonfigurationsdatei:\r\n\t%s\r\n\r\nRoot-Name in TC:\r\n\t%s\r\n\r\nStandarddateiliste:\r\n\t%s\r\n\r\nAutospeicherintervall (Sekunden):\r\n\t%d\r\n\r\nLog-Dateipfad: \r\n\t%s\r\n\r\nLogereignis-Flags:\r\n\t0x%X\r\n\r\nLogdateilimit:\r\n\t%d\r\n\r\nAutoexecution-Flags:\r\n\t0x%X\r\n\r\nAutoupdate Skriptname:\r\n\t%s\r\n\r\nSprache:\r\n\t%s\r\n
9=Wollen Sie den Vorgang abbrechen?
10=Sind Sie sicher, daß Sie das physische Objekt für das folgende Element entfernen wollen?
11=\r\Dies ist die einzige Möglichkeit, ein Objekt aus einem physischen Ordner zu entfernen.
12=Sind Sie sicher, dass Sie eine schreibgeschützte Datei löschen/überschreiben wollen?
13=Sie können eine physische Datei nicht in einen virtuellen Ordner verschieben.\r\Stattdessen Link zu einer Datei hinzufügen?
14=Leider erfordert der Befehl %s mindestens %d Parameter.
15=%s\r\n\r\nDatei existiert. Ersetzen?
16=Sie haben den Pfad zur Dateiliste nicht angegeben.\r\nMöchten Sie den Status in der Standard-Dateiliste speichern?
17=%.256s\r\n\r\n%d Einträge exportiert.
18=%.256s\r\n\r\n%d Einträge importiert.
19=Fehler in Batch-Datei! Skript muß mit '<' beginnen!
20=Geladene Statusdatei enthält >Autoexec-Datei.\nWollen Sie sie ausführen?\n\nSie können diese Bestätigung in den Einstellungen deaktivieren.
21=Geben Sie den Parameter %d für den Befehl %s ein:
22=Geben Sie die Daten für %.96s ein:
23=Sie hatten den Pfad zur Dateiliste nicht angegeben.\r\nMöchten Sie den Status aus der Standard-Dateiliste laden?
24=Parameter
25=Befehle
26=&einstellen
27=intern
28=Einstellungen
29=" Standard-Dateiliste "
30=Pfad zur Standard-Dateiliste:
31=Intervall für Speicherung [s]:
32=Im neuen Format speichern
33=" Protokolldatei "
34=Pfad zur Protokolldatei:
35=Größenbegrenzung [kB]:
36=Beginn/Ende der Operation
37=Datei-Aktionen
38=Attribute festlegen
39=Dateiaktionen durchnummerieren
40=" Besondere Icons "
41=Icon für Remote-Datei:
42=Icon für Remote-Ordner:
43=Icon für Virtueller-Ordner:
44=" Auto-Skripte "
45=Name des Autoupdate-Skripts:
46=Autoupdate-Skripte
47=Auch für Suche und Synchronisierung verwenden
48=Ausführen von >Autoexec beim Laden
49=nicht nach der Bestätigung fragen
50=" Sprache "
51=Name der Sprachendatei:
52=&OK
53=&Anwenden
54=Ausführen von >Shutdown beim Entladen des Plugins
55=%s\r\n\r\nNeues Ziel:\r\n%s
56=Skriptausführung
57=Status nach jeder Änderung speichern
58=Virtual Explorer Aktionen
59=Zurück gehen
60=Vorwärts gehen
61=Zum übergeordneten Verzeichnis gehen
62=Neu einlesen
63=Kurzansicht
64=Vollansicht
65=Eigenschaften
66=Umbenennen
67=Löschen
68=Alles auswählen
69=Auswahl invertieren
70=Immer oben
https://www.dropbox.com/s/0f3qko1hfpmo635/1031.lng?dl=1
User avatar
funkymonk
Senior Member
Senior Member
Posts: 491
Joined: 2013-12-04, 09:56 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *funkymonk »

I use the plugin every now and then, and I would find two features very useful:

* support for tooltips
* a corresponding content plugin that allows custom columns to display, e.g., the timestamp when a file was added to the virtual panel

Is development still ongoing for this plugin?
Thank you.
DVV
Junior Member
Junior Member
Posts: 28
Joined: 2009-09-30, 13:19 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *DVV »

Sort of a newbe question, but how am I expected to extract/retrieve real paths of the items collected in the VirtualPanel? Let's consider the following use case:
1) I have a folder with a lot of media files (can be pictures, audio, video, whatever)
2) I go through the files in this folder and copy some of them to the VirtualPanel to do something with all of these copied files later
3) Finally, when I collected all the desired files in the VirtualPanel, it appears that the full paths to these files are retrieved as "\\\Virtual Panel\FileName.ext" where the "\\\Virtual Panel\" prefix neither allows to drag-n-drop these files to some other application nor allows to copy the real file paths to the clipboard.
Am I missing something?
User avatar
nsp
Power Member
Power Member
Posts: 1912
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *nsp »

Am I missing something?
With TC > 10

For command and button you can get all:
%v is virtual name
%V is full virtual Name

If you select real file and not vp element like virtual folder, script,...
%P%N is full path
%L %F are list of real names for selected items ( This is what i use to do stuff with tcbl or forEach script)

%S do not list real names.

You can also use vp command to export real names of a folder like

Code: Select all

<export ? .
you will be prompted for file name.
Another trick is to use loadlist0 from %L and then you have a list of Real Files...

Code: Select all

TOTALCMD#BAR#DATA
LOADLIST0
%L
wcmicons.dll,86
List of selected files


-1
if you want to list to opposite/new panel you have to save the %L into a fixed name to load after focus is lost and then use some cm/em_commands.
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *Hurdet »

MVV wrote: 2020-09-15, 10:06 UTC
Hurdet wrote: 2020-09-15, 06:01 UTCok, %F doesn't enumerate nested items, but save folder path as "path\".
it would be enough to program VPBatch.exe to deal "path\" as it deal "path\*.*"
Perhaps an additional switch could be indeed added to <convert for recursive folder processing...
Do it have news about to add recursive folder switch for VPBatch.exe?
VPBatch.exe handle only first level folder when <convert and ignore subfolder.
Again have to modify "path\" to "path\*.*" in TC playlist to work in VPBatch.exe <convert.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *MVV »

Hurdet,
Sorry, no changes. I'll try to find some time for adding recursive flag.
BTW <convert is a VP command, VPBatch only passes it to VP.
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *snop »

Hi all,
I am getting acquainted with this plugin that I would like to use for following use case :

I would copy all content of a network folder into a VP. This should allow me to search for files very quickly.
Now however, I would like to cleanup my network folder efficiently and therefore I would like to be able to remove a file from the VP and have it removed on the network folder, kind of like a synchro.
Same thing, if on network folder a file is moved/deleted etc, I want the VP to be updated accordingly.
Is there a way to achieve such ? That would allow me to be way faster and efficient.

Reproduce :
Go to \\\VirtualPanel
create a new folder "test"
copy files and folders from D: drive, to VP "test" (folder1, folder2, file1.txt, file2.txt at root of "test" folder, and file3.txt inside folder1)
Now :

1. delete file1.txt from VP
2. move file3.txt to "folder2" on D:

how to sync so that file1.txt on D: is deleted, and file3.txt on VP is moved to folder2 ?

would the answer procedure also work if I do the other way ? (example : delete file2.txt from D:, and move file1.txt to folder2 on VP)

Note : after I did this 2 manipulation, VP on the left, D: on the right, I went to Commands > Sync Dirs, then checked the 4 "show" options and duplicate/single
at the end of the sync, file1.txt is also deleted from D:, and so is file3.txt, and on VP side file3.txt inside folder1 will have a red X as icon.
while what I wanted was to have :
file1.txt deleted from D: and file3.txt moved to folder2 on VP.
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *Fla$her »

snop wrote: 2025-04-15, 21:52 UTChow to sync so that file1.txt on D: is deleted ?
I answered you how to do it, and twice. From Readme:
When you confirm deletion with pressed Shift key, plugin will ask you for physical files remove confirmation (confirmation is asked always when you remove files within physical folder link). ... When removing physical files, they are placed to Recycle Bin by default (if TC configured to delete directly or Shift key was held on confirm physical files deletion, files are deleted directly).
But it's not quite written correctly here. Instead of pressing Shift + Del, you need to press Shift + Enter (or click OK) when the first dialog appears.
snop wrote: 2025-04-15, 21:52 UTCand file3.txt on VP is moved to folder2
Doesn't the standard F6 key help? 😕
Overquoting is evil! 👎
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *snop »

shift + del :
when done on VP side, no imapct at all on D: side
when done on D: side, act as if i just did a simple del, and file on VP side is marked with red X

shift + enter :
when done on VP side, it "enters" the file (as when you "enter" a zip file), i guess it's like the technicals behind VP plugin
when done on D: side, act as if I just did a simple enter, opens file.

hence my question

about the F6 key, this is how I move files yes, so when I move file3.txt to folder2 on D:, using F6, then when I look on VP (even after a refresh), file3.txt is marked with red X and is still inside folder1 on VP side
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *Fla$her »

when done on VP side, it "enters" the file
Did I write about the side? >>>
Fla$her wrote: 2025-04-16, 00:07 UTCwhen the first dialog appears.
After Del, of course.
using F6, then when I look on VP (even after a refresh), file3.txt is marked with red X and is still inside folder1 on VP side
After F6, the Download dialog should appear, in which you press Enter, and then the VP dialog should appear, asking for confirmation of the deletion of the physical object. If you press any of the buttons except Cancel, the object on the VP disappears and no cross remains there. This is what I observe.
Overquoting is evil! 👎
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *snop »

ohhhhh ok ok I see now.. sorry but I understood that to remove file I should do shift+del (and you mention shift+enter) when in fact should do del, followed by shift+enter when asked if I really want to delete the selected file(s). I know you mentioned it if I read again, but the emphasis wasnt strong enough for me to understand the subtility of that "gimmick" as it is not that obvious and a bit different design pattern than rest of the app.

ok now I see the dialog that you are referring to, and indeed, when deleting on VP side, it also removes on D: side
so that part is clear to me now.

but the other way remains : if I do the same step on D: to delete the file, then on VP I see the red X on the file that is deleted on D: but is still on VP side (even when doing shift+enter on confirmation dialog).
and if I move the file (F6 with or without the shift manipulation) then on VP side i just see that the file still is on it's former place but also with red X.
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *Fla$her »

snop wrote: 2025-04-16, 11:36 UTCbut the other way remains : if I do the same step on D: to delete the file, then on VP I see the red X on the file that is deleted on D: but is still on VP side (even when doing shift+enter on confirmation dialog).
Sure. All physically missing files are marked with a red cross by default (you can set a different icon in the settings). This makes it possible to remember what was previously deleted from the original structure. If desired, you can delete such files manually by selecting and pressing Delete. Or at some stage, delete the virtual folder and copy the structure again. Auto-synchronization, as you understand, would contradict the essence of high-speed work with virtual file lists.

It could be implemented with an auto-update script, which would probably slow down the speed of its rendering, but, alas, for some reason, the author didn't provide a function for checking the presence of a physical object. ifexist checks for the existence of a virtual object, which makes no sense in looping operations with the current list.

There is also an option to copy a link to a folder instead of creating a structure. But I don't think that in terms of speed it will be fundamentally different from working directly with the drive.
and if I move the file (F6 with or without the shift manipulation) then on VP side i just see that the file still is on it's former place but also with red X.
Hmm. Check if there will be an effect if the source and destination are not network drives, but regular ones.
Overquoting is evil! 👎
Post Reply