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

Post Reply
User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *Usher » 2019-06-26, 22:17 UTC

2MVV
In the age of polished stone DOS there was very useful, though undocumented TRUENAME command:
https://en.wikipedia.org/wiki/List_of_DOS_commands#TRUENAME
https://www.robvanderwoude.com/truename.php

Running TRUENAME from some (mapped, substed, joined etc.) directory without arguments gave the physical path (the real name of current directory).

Now things get more and more overcomplicated…
Last edited by Usher on 2019-06-27, 21:41 UTC, edited 1 time in total.
Regards from Poland
Andrzej P. Wozniak

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

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *MVV » 2019-06-27, 07:23 UTC

zxy,
Please tell how do you want to use physical path: pass to other program, copy into clipboard, or?
Passing to another program may be done with %P%N, you can also open system properties of file using Alt+Enter, context menu or buttonbar command.

zxy
Junior Member
Junior Member
Posts: 3
Joined: 2019-06-20, 02:58 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *zxy » 2019-06-29, 08:01 UTC

I got it, you are right, The %P%N works for the file but fails for the directory.
especially for the directory created by the VP command "<add"

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

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *MVV » 2019-07-08, 09:48 UTC

Well, you only can create links to physical directories via <add command, simple copying creates virtual folders. And unfortunately there is no way to get physical path from TC, however you can open folder properties (system properties dialog appears) or execute folder by Ctrl+Enter + Enter, or by executing "." command after entering folder, and physical folder will be opened in Explorer.

quantum
Junior Member
Junior Member
Posts: 39
Joined: 2004-02-29, 01:42 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *quantum » 2019-08-17, 19:41 UTC

Is there a way to have shift+enter behavior, open source file in new tab, but with the tab in the other panel?

quantum
Junior Member
Junior Member
Posts: 39
Joined: 2004-02-29, 01:42 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *quantum » 2019-08-19, 06:26 UTC

Another wish: add ability to associate icon with VirtualPanel link, such as link to cmd file. I can achieve this now by creating an additional lnk shortcut file pointing to the cmd, and setting the icon there. This adds an extra file and an extra step.

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

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *MVV » 2019-08-20, 05:29 UTC

Is there a way to have shift+enter behavior, open source file in new tab, but with the tab in the other panel?
Try Ctrl+Left for right-to-left or Ctrl+Right for left-to-right side, these are built-in TC shortcuts.
Another wish: add ability to associate icon with VirtualPanel link, such as link to cmd file. I can achieve this now by creating an additional lnk shortcut file pointing to the cmd, and setting the icon there. This adds an extra file and an extra step.
Sorry, the only file type which may be associated with custom icon is VP script file (in a pure-virtual folder, not in a link to physical folder). However you can use script files for executing external programs or batch files.

Try following command:

Code: Select all

<add >RunMyBatch { <exec \Bin\Exec.exe D:\MyBatch.bat <<shell32.dll,84 }
(it assumes that you have added Exec.exe from VP installation folder into VP as \Bin\Exec.exe)

quantum
Junior Member
Junior Member
Posts: 39
Joined: 2004-02-29, 01:42 UTC

Re: [WFX] VirtualPanel: Temporary panel for TC

Post by *quantum » 2019-08-20, 12:15 UTC

MVV wrote:
2019-08-20, 05:29 UTC
Try Ctrl+Left for right-to-left or Ctrl+Right for left-to-right side, these are built-in TC shortcuts.
After using TC since almost the beginning, somehow that useful keystroke escaped me. Thanks.

The script icon trick is good to know. I'll have to compare against lnk files which work but are awkward to maintain.

Post Reply