[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: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think that association icons with file types have no relation to virtual panels. If you want to have special icon for text files, you may use TC's internal associations to set icon for files of this type.
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

if a file is not found in VP list does it just associate the ico defined. Or can you actually do more parsing like associate different icon for different ext?
#181344 Personal licence
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

When TC asks for icon for specific file, I may extract icon and return it to TC (I do it for EXE and LNK), or I may return special icon (I do it for virtual folders, for script files and for inaccessible files/folders) or I may tell TC to assign icon (I do it for other file types; in this case TC will assign icon currently associated with this file in Windows).

I may assign any icon for any file, but there should be some reason to do this.
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

: ) MVV

I now started to use VP as my passlist manager, this is how:

in ini - RemovedFileIcon=C:\key.ico

then

1- I create a file "empty" in my temp dir like:

pass+userid.site

2- i copy this file to VP

3- i delete this file from the temp dir.

4- change dir in VP

outcome: VP stores my passes. i can copy, search, modify etc ...

since i also have other types of dummy files like links, phone numbers .... it would be a great help if i can make those entries icons look different : )

IDEA:
=====
what i am thinking is an option in INI to have

FolderNameIcon=Passes,c:\foodir\key.ico
FolderNameIcon=Phones,c:\foodir\Telephon.ico
FolderNameIcon=Links,c:\foodir\URL.ico
FolderNameIcon=Bugs,c:\foodir\Bug.ico
FolderNameIcon=People,c:\foodir\Head.ico
etc...

so when VP loads and enters a dir, it check its name [passes] or [people] for example then it assign all enteries with associated icon from ini by name.

hope i explained well.

what do you think.
#181344 Personal licence
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

if my last wish request will take many hours please let me know, maybe i can treat you with something : )
#181344 Personal licence
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I'm sorry but I don't think that temporary panel needs such feature.
And, I think that if you have all files in some folder with same icons, it doesn't matter what exactly icon theese files have.
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

it does matter.

if i have a folder called

Forums
Phones
Departments
Links

under each one will have different icon.

this is just cosmetic, you are right VP doesn't need such a feature but if you think about my use this way then its more than just a panel.
#181344 Personal licence
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it is out of VP aims.

But you may use specific extension for files in each folder and to assign any icon you like for this file type within Windows, and you will get what you want.
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

oky MVV, have a nice weekend, gotta eat and watch some movie : )
#181344 Personal licence
User avatar
nsp
Power Member
Power Member
Posts: 1827
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ehab wrote: IDEA:
=====
what i am thinking is an option in INI to have

FolderNameIcon=Passes,c:\foodir\key.ico
FolderNameIcon=Phones,c:\foodir\Telephon.ico
FolderNameIcon=Links,c:\foodir\URL.ico
FolderNameIcon=Bugs,c:\foodir\Bug.ico
FolderNameIcon=People,c:\foodir\Head.ico
etc...
This is not what you asked for but it can be useful !

if those files are in fixed folder, you can use a script instead and get what you want !

Ex for your phonebook, you can launch scite and search for a name !
A) add a VP file linked with scite.exe (i called it \prog\scite}
<add \prog\scite c:\tools\editor\scite.exe
B) add your phoneBook script.
<add >Phonebook {<exec \prog\scite W:\INFO\Contacts\MyPhoneBook.txt -find:? <<c:\foodir\Telephon.ico}

.... if you do not wish to link to scite you can use the exec utility that posted MVV....

If you want to handle multiple env used at once Customer / Project /.... I personally use a lot :
- a template folder hierarchy ex INFO\Contacts INFO\Connections ADMIN\Timelines \Projects\ ....
- subst or a network share to always have my W: drive pointing to such hierarchy ....

But to be honest, it sites better in a TC toolbar ..
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

hey nsp,

thanks for the suggestion, gave me idea's : ) and yes i did try exec.exe MVV added " very helpful indeed".

i did rethink my target and now i have folders in normal way but the files i add in this form:

Code: Select all

<add \Keys\Accounts\userID+Pass.RS    { <<w:\VPIcons\key.ico }

00002420	01CAB249 D1FE6F70	\Keys\Accounts\userID+Pass.RS	<<w:\VPIcons\key.ico

what i end yo with is a dummy file "no physical link" and an icon to it : ) again the main purpose is to use VP as a list i can copy info from, filename.ext is enough for me.

Oky, if i wish to copy the userid and pass of RS site then locate it, copy the filename part, thats it. I actually use a vbs script since i do not want to invoke editing.

: ) off course i wish MVV will cookup a way to change folder icon since he already implemented much harder tasks.

what do you think! any shortcomings? improvements?

my respect and thanks
ehab
#181344 Personal licence
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

VirtualPanel 1.0.0.494 (changes since 1.0.0.484):
+ shows time for each log line
+ percent char in script files is now processed like in usual batch files
* wrong detection of flag /a in put command
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Hey, I'm here yet. :)


Now VP detects its root name and allows to use cd command as in usual TC panel.

Configuration dialog now run in background thread and doesn't blocks TC.


VirtualPanel 1.0.0.500
+ supports internal associations in TC 7.51 and later
+ saves state on exit Windows
+ multi-thread safe virtual system access
+ non-modal configuration dialog
+ standard cd command support in TC

Hope I spoiled nothing. :D
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Little update that will add autosave by timer feature (in background). :)


VirtualPanel 1.0.0.505:
+ autosave default state file by timer feature
* environment variables processing in cd command


Please update your 1.0.0.505 to 1.0.0.506 'cause of bug that may crash plugin on configuration dialog opening (missing parameter). :!:
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

MVV my regards to you.

is it possible you consider adding a parameter in the command line that will disallow renaming?

for example: i have a file in VP selected when i press shift+F6 will have TC rename file but it is ignored after Enter pressed! because i have added this file using the command line and had a paramter like

<add aaa {<<w:\VPIcons\form.ico} R

is it possible : ) plz
#181344 Personal licence
Post Reply