Flasher (Russian board) wrote:TC 9.12 32 bit. %C,%C1/%c,%c1 should return physical paths like %P%N/%p%n, but... 1. No selection. File is focused.
a) Left panel - physical dir, right (active) - virtual dir.
%c or %c2: "D:\Right\Path\to\File Name.ext"
%C or %C2: "\\\Virtual Panel\Virtual\Folders\Names\D:\Right\Path\to\File Name.ext"
%C1 or %c1: "C:\Left\Path\D:\Right\Path\File Name.ext"
b) Left panel (active) - virtual dir, right - physical dir.
%c or %c1: "C:\Left\Path\to\File Name.ext"
%C or %C1: "\\\Virtual Panel\Virtual\Folders\Names\D:\Left\Path\to\File Name.ext"
%C2 or %c2: "D:\Right\Path\C:\Left\Path\to\File Name.ext"
c) Left - virtual dir, right (active) - physical dir.
%C or %c or %C2 or %c2: D:\Right\Path\RightFileName.ext
%C1 or %c1: "\\\Virtual Panel\Virtual\Folders\Names\RightFileName.ext"
d) Left - physical dir, right (active) - physical dir.
%C or %c or %C2 or %c2: D:\Right\Path\RightFileName.ext
%C1 or %c1: "C:\Left\Path\RightFileName.ext"
2. One file selected (not focused).
a) Left - physical dir, right (active) - virtual dir.
%c or %c2: SelectedFileName.ext (Another file is focused.)
%c or %c2: "\\\Virtual Panel\Virtual\Folders\Names\SelectedFileName.ext" (Item [..] is focused.)
%c1: C:\Left\Path\FileNameUnderTheCursor.ext (Another file is focused.)
%c1: C:\Left\Path\ (Item [..] is focused.)
b) Left (active) - virtual dir, right - physical dir.
%C or %C1: "\\\Virtual Panel\Virtual\Folders\Names\SelectedFileName.ext"
%c or %c1: SelectedFileName.ext (Another file is focused.)
%c or %c1: "\\\Virtual Panel\Virtual\Folders\Names\SelectedFileName.ext" (Item [..] is focused.)
%C2: D:\Right\Path\SelectedFileName.ext
%c2: D:\Right\Path\FileNameUnderTheCursor.ext (Another file is focused.)
%c2: D:\Right\Path\ (Item [..] is focused.)
c) Same as 1.c but %c1: "\\\Virtual Panel\Virtual\Folders\Names\FileNameUnderTheCursor.ext"
d) Same as 1.d but %c1: "C:\Left\Path\FileNameUnderTheCursor.ext"
Test environment:
- Virtual Panel plugin.
- Subfolders C: and D: in \\\Virtual Panel\Virtual\Folders\Names\ folder contain directories Left from C:\Left and D:\Right.
- Some mentioned files are added to folder \\\Virtual Panel\Virtual\Folders\Names\.
- Sample buttonbar button for test:
Thank you.
Yes indeed if I select 2 directories it compares 2 directories.
If I select 2 files it compares 2 files.
Maybe better to use "%C1" "%C2" for both (comparing directories and files)
I don't understand the difference between "%C1" "%C2" and ""%P" "%T"
except that the last one passes left and right directory and the first one
whatever 2 directories.
Is that correct?
raytc wrote:Does anyone know the difference between "%C1" "%C2" and ""%P" "%T"?
For first idea read the help:
- open a button for editing
- press F1 key on your keyboard
- read
- cancel the button
- - - EDIT for clarification: Any button will do, just one of the existing ones.
This will open the 'context sensitive' help page for the button settings and parameters.
That way you don't have to search the help yourself, TC will do that for you.
HTH?
Last edited by Stefan2 on 2018-03-28, 12:20 UTC, edited 1 time in total.
Tried to find it in the help but couldn't find anything.
no problem
Have a good day
I don't support Stefan2 but I fight against users like you,
which ask for help but are not willing to try anything.
If you don't have any button why are you posting on this thread ?
Windows 11 Home, Version 24H2 (OS Build 26100.4061) TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
... OR ...
Press F1 for Help
Click on the "Search" tab
Search for: Dialog box: Configuration - Change button bar <ENTER>
Double-click on: Dialog box: Configuration - Change button bar
Click in the text
Press Ctrl + F
Type in what you are looking for, e.g. %C1, %P,...