[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 »

VirtualPanel 1.0.0.420 (changes after 1.0.0.416):
* trailing spaces in condition of ifcond command are removed
* fixed exporting filenames in ANSI (Unicode w/o BOM was written)

I'm waiting for next bug reports. 8)
User avatar
nsp
Power Member
Power Member
Posts: 1810
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

MVV wrote:I'm waiting for next bug reports. 8)
No bug report ! Only compliments 8)

I'm trying to do recursive stuff but it seems that it is not working with folder link. I would like to have a kind of <put /R MyFilteredVFolder MyRealFolder\Mask .... to add it in an >autoexec script.

As a workaround, I've made my C prog that make a filteredList and <put it afterward...
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yes, internal commands can't deal with files outside of VP, but when you enter folder link, you see files outside of VP. Internal commands may deal only with links to files, but folder links don't contain such links.


VirtualPanel 1.0.0.424:
+ moving from VP (physical file is copied and link is removed)
* fixed physical moving from VP (file was moved but link was left)
User avatar
nsp
Power Member
Power Member
Posts: 1810
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

I have noticed two issues :
A) the <exec command seems to not wait the launched process is finished.
B) the %variable% do not seems to be replaced or at least passed without modification using the <exec.

BTW : if you are interested by a globbing function in Visual C++ i can send it to you by PM. (( The command line utilities
Usage: glob (-O outFile)? (-i pattern)* (-e pattern)* BasePattern+
File globbing utility, use ** as recursive wilcard ... as ..\.. !
-O OutFile = output is redirected to specified file
-e pattern = Exclusive pattern.
Only final files/folder matching :
- ANY OF the exclusive pattern(s) AND ANY BasePattern are listed
- do not use terminal '\' to filter folder !
-i pattern = Ignore pattern.
Only file files/folder matching :
- ANY BasePattern BUT NONE of the ignore pattern(s) are listed.
- use terminal '\' to filter folder !
Close with a forward slash to select/ignore a directory.
__________________ Samples __________________
glob c:\tmp\*.* c:\temp\*.*
=> list files from c:\tmp and c:\temp.
glob c:\temp*\
=> list all folder from c:\temp.
glob **
=> Do recursive search from the current folder.
glob -e *.cmd **
=> Do recursive search from the current folder,
but only select *.cmd files !
glob -e *.cmd -e *.sh **
=> Do recursive search from the current folder,
but only select *.cmd AND *.sh files !
glob -i .* -i .*\ **
=> Do recursive search from the current folder,
but ignore .* files and do not recurse into .* folder !
))
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Of course <exec doesn't wait else TC will be locked until launched process is finished. But I may add special flag for <exec so VP will wait for process termination.

Command line is passed without modification to applications started using <exec so you may use external expander for envvars.

I don't understand where I need such globbing function. :) If you have external application, you may use it for creating filelists.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

VirtualPanel 1.0.0.436 (changes since 1.0.0.424):
+ put command may now add files or folders or both
+ flag for put command to auto-rename file if such file already exists
+ flag for exec command to wait for process termination

Auto-rename in put command appends (1), (2) etc to filename (before last dot) until unique filename is found.
User avatar
nsp
Power Member
Power Member
Posts: 1810
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

MVV wrote:VirtualPanel 1.0.0.436 (changes since 1.0.0.424):
+ put command may now add files or folders or both
+ flag for put command to auto-rename file if such file already exists
+ flag for exec command to wait for process termination

Auto-rename in put command appends (1), (2) etc to filename (before last dot) until unique filename is found.
Great !!!!

Code: Select all

>AutoExec   {<del /f . <exec /w ........ <put /al .... }
Make my auto Filtered BranchView in virtual Panel almost perfect !

As advised i use my own external app to build fileList but it is automatically launched from VP ! :)

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

Post by *MVV »

nsp wrote:As advised i use my own external app to build fileList but it is automatically launched from VP ! :)
And it works! :)
But I'll say that >Autoexec is not same as auto-update script. Autoexec may be executed immediately after loading state file with >Autoexec script in its root. And, auto-update script automatically called every time you enter folder with it.


VirtualPanel 1.0.0.470:
+ configuration dialog

You may change all INI parameters via configuration dialog.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

VirtualPanel 1.0.0.480:
+ information box in cfg dialog and language, icons etc are updated after changing parameters if need
* changed font in cfg dialog and tab view (in some Windows themes vertical tabs are buggy)
* empty text now may be accepted as parameter value in cfg dialog
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

Dear MVV,

can you give examples of how to use icon folder? i mean how do i specify that a file to use a specific icon within a folder!

with thanks
#181344 Personal licence
User avatar
nsp
Power Member
Power Member
Posts: 1810
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ehab wrote:Dear MVV,

can you give examples of how to use icon folder? i mean how do i specify that a file to use a specific icon within a folder!

with thanks
In fact this is working fine for command.
The normal command to use is

Code: Select all

<add Name Spec 
ex: <add >Help <? <<C:\Windows\System32\SHELL32.dll,154
.

For File, no additional spec is possible to define alternative icon this way.
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

hi nsp,

did you try to use ico file instead of a dll?
#181344 Personal licence
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ehab wrote:can you give examples of how to use icon folder? i mean how do i specify that a file to use a specific icon within a folder!
You may set custom icons only for script files (you should specify path to any icon or executable/DLL file [and optionally icon index] at the end of script after "<<"), for virtual folders and for links to inaccessible files/folders (using configuration dialog).
nsp wrote:The normal command to use is

Code: Select all

<add Name Spec 
ex: <add >Help <? <<C:\Windows\System32\SHELL32.dll,154
I have one note. When you want to add script file, you must enclose entire script to braces. So, right command line may be:

Code: Select all

<add >Help {<? <<C:\Windows\System32\SHELL32.dll,154}
If you forgot braces, this line will be treated as sequence of commands:

Code: Select all

<add >Help
<?
ehab wrote:did you try to use ico file instead of a dll?
Now I have tested this and all works fine:

Code: Select all

<add >Configuration {<prop<<F:\Config.ico}

VirtualPanel 1.0.0.484 (changes since 1.0.0.480):
+ links to inaccessible folders are treated now as empty folders so TC may delete them
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

i will have to discover the power of script soon, since looks like it will reduce my tasks.

i am thinking to to have a script that will ask for a parameter and will launch search ...

thanks guys for directions.
#181344 Personal licence
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

Dear MVV,

Is it possible in the ini file you can have an icon file to represent a file extension if its missing.

part of my current ini:

RemovedFileIcon=w:\key.ico

i wish i can have something like:

RemovedFileIcon.txt=w:\rnote.ico
RemovedFileIcon.bmw=w:\bmwico

and so on... is this possible or too much of hardwork and checkings etc ..

would love to hear your comments and if i can offer you something : )
#181344 Personal licence
Post Reply