[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: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

This is what I thought, but e.g. I rename pysical folder "test" to "test - off". Then the virtual folder "test" stays unchanged, but all files in this folder get the "removed icon".
Why not the folder?
Read the Readme file:
Readme wrote:When you copy folder into VP, TC copies its structure with virtual folders and file links, you can't create physical folder link directly.
So, when you copy folder to VP via TC, it creates virtual folders that are not associated with physical folders. You can create link to folder by dragging it to virtual explorer window or via <add or <put commands.
Which unit? KB or number of lines?
Bytes. :D
I'll add note in Readme and dialog.
Virtual Explorer:
Where to find and use commands like
In virtual explorer. :D
Read Readme section 3 to see internal commands and section 6 to know more about VE.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Thanks MVV

it is clearer now.

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

jdrsk,
Please test beta 1316, it should write state file correctly.
jdrsk
Junior Member
Junior Member
Posts: 4
Joined: 2013-01-30, 22:53 UTC

Post by *jdrsk »

MVV > after couple of quick create/delete actions everything looks good :)
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I just added 'set end of file' function call before closing file. Thank you for the bug report.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Questions regarding translation

Post by *Peter »

Hi

some questions regarding translation:

In Line 7 there is double "config":
\r\n\r\nconfig\r\n\r\nconfig\r\n\r\

"make intermediate folders"
Please describe what you mean with "intermediate"

Virtual Explorer:
The "long view" displays "Size" and "Date" without translation.

"Parameter will be asked if contains only '?' character."
.. if contains ... what? "Only ?" or "one ?"

Dialogue for settings / Parameters:
- Log events flag display "0x3F"
- Autoexecution flags displays "0x4"

Peter wrote:...
Ctrl+Left/Right:
Only on files it changes to the "physical files"; on folders it changes to "virtual folders". Right? Can it be changed?
...


Regards

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

In Line 7 there is double "config":
Thanks, you're correct, one is enough.
Please describe what you mean with "intermediate"
E.g. you try to create folder \aaa\bbb\ccc\ddd. Intermediate folders are \aaa, \aaa\bbb and \aaa\bbb\ccc (i.e. all parent folders of your folder that make path to it). Option allows to create parent folders if some of them doesn't exist. If you know better phrase, please notice it.
The "long view" displays "Size" and "Date" without translation.
Sorry, column headers aren't translated now.
"Parameter will be asked if contains only '?' character."
.. if contains ... what? "Only ?" or "one ?"
Try to execute in TC command line (when plugin panel is active):

Code: Select all

<tgmove ?
<tgmove ?:"Enter my cool parameter:" ?
Dialogue for settings / Parameters:
- Log events flag display "0x3F"
- Autoexecution flags displays "0x4"
It's OK here, leading zeroes are not shown (just %X is used in format string). In your case 0x3F contains bits 0x1, 0x2, 0x4, 0x8, 0x10 and 0x20 while 0x4 contains only 0x4.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Thanks. To be continued.

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

DefList not cleaned up

Post by *Peter »

a) DefList not cleaned up

Maybe a feature, maybe already discussed (but not easy to find in 37 pages of discussion ...)

When I "copy" files to VP the Deflist is modified. Fine.

Then I delete the "files" from VP, the panel is empty. OK.

Then I close TC, start TC and open VP - VP is filled with the entries I removed the last time.

Big or feature? (There are no access problems to the file..)

Here is my ini:

Code: Select all

[Virtual Panel]
DefFileList=d:\xx\virtual.txt
LogPath=d:\xx\virtual.log
LogEnabled=8
VirtualFolderIcon=
AutoUpdateScriptName=
EnableAutoScripts=0
Language=German
RemovedFolderIcon=
RemovedFileIcon=
AutoSaveInterval=60
MaxLogSize=20000
AutoSaveListOnEachOp=1
DefFileListNewFormat=1
SaveIniOnUnload=1
Explorer.RenameByF2=0
Explorer.RightPixels=1


b) <load - command:
Which file-formats (list-formats) can be loaded via this command? I tried (and failed) with simple text-file like this:

Code: Select all

d:\xx\virtual.log
d:\xx\virtual.txt
d:\xx\virtual2.log
Peter
TC 10.xx / #266191
Win 10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

a) DefList not cleaned up
It was reported above, and confirmed that new beta fixes it.
b) <load - command:
According to Readme, <load commands loads 'state files'. I think it is enough references to 'state file' in Readme. Anyway, <save command saves list in internal format and <load command loads such files into entire VP or just specified folder. If you want to import just filelist (e.g. created via cm_CopyFullNamesToClip), use <put /l (BTW there are some samples at the end of Readme section 3).
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

MVV wrote:...confirmed that new beta fixes it....
Download is already deleted. I can not reach it.

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I know, that were temporary uploaded beta:) you can test last beta here.
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Hi MVV, i think that you should update main version with the fixed delete from list function, today i need o install from scratch my OS i install TC & all plugins from new versions & i wonder 2h why i can't del files from list of virtualpanel :D
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It seems that you have no write permissions to default state file. Please check its permissions. With correct permissions VP saves its state on exit.
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

I think that i have correct permissions, at beta version 1320 works fine, at 1264 doesn't work.. :/
Post Reply