sync navigation between Folders List panel and the Tabs console

Feb 22, 2009
2
0
Hi,

How can I synchronize a navigation in folders/directories between the Folders List panel and the Tabs console panel?

That I mean is as following: when I enter the commnad 'cdd /t <dir_name>' in the tab console, then a current directory as well as the active folder in the Folders Tree panel are changed according to 'dir_name'.

So, How can I do the same in the opposite direction? (when I click on an active directory/folder in the Folders List panel, I want the current directory in the currently active tab will also changed)?

Thank you
 

rconn

Administrator
Staff member
May 14, 2008
12,350
150
dmitryl wrote:

>
> How can I synchronize a navigation in folders/directories between the Folders List panel and the Tabs console panel?
>
> That I mean is as following: when I enter the commnad 'cdd /t <dir_name>' in the tab console, then a current directory as well as the active folder in the Folders Tree panel are changed according to 'dir_name'.
>
> So, How can I do the same in the opposite direction? (when I click on an active directory/folder in the Folders List panel, I want the current directory in the currently active tab will also changed)?

CDD %_TCFILTER. Put it in your PRE_INPUT alias if you want it done
automatically. Two caveats:

1) This will only work in TCC tab windows; if you're running CMD,
PowerShell, bash, etc. there's no way for TCMD to communicate with them.

2) Although a lot of first-time TCMD users think they want to do this
automatically, they usually find they don't, as it makes every other tab
window switch to the folders directory as soon as they're activated; and
it makes the drag & drop between the windows useless (why drag & drop to
the same folder?). I'd recommend putting the CDD %_TCFILTER on a
toolbar button so you can do it when you need it.

Rex Conn
JP Software
 
May 20, 2008
3,515
4
Elkridge, MD, USA
rconn wrote:
| dmitryl wrote:
|
|| How can I synchronize a navigation in folders/directories between
|| the Folders List panel and the Tabs console panel?
||
|| That I mean is as following: when I enter the commnad 'cdd /t
|| <dir_name>' in the tab console, then a current directory as well as
|| the active folder in the Folders Tree panel are changed according
|| to 'dir_name'.
||
|| So, How can I do the same in the opposite direction? (when I click
|| on an active directory/folder in the Folders List panel, I want the
|| current directory in the currently active tab will also changed)?
|
| CDD %_TCFILTER. Put it in your PRE_INPUT alias if you want it done
| automatically. Two caveats:
|
| 1) This will only work in TCC tab windows; if you're running CMD,
| PowerShell, bash, etc. there's no way for TCMD to communicate with
| them.
|
| 2) Although a lot of first-time TCMD users think they want to do this
| automatically, they usually find they don't, as it makes every other
| tab window switch to the folders directory as soon as they're
| activated; and it makes the drag & drop between the windows useless
| (why drag & drop to the same folder?). I'd recommend putting the
| CDD %_TCFILTER on a toolbar button so you can do it when you need it.

Instead of creating the toolbar button, or (even better) in addition to
creating it, create a short (e.g. 2-character) alias for the command CDD
%_TCFILTER. If you create both, you never need to move your hand from the
mouse to the keyboard and back (or from the keyboard to the mouse and back),
your tool is already available where your hands are.
--
HTH, Steve
 
May 20, 2008
11,409
99
Syracuse, NY, USA
On Thu, 06 Aug 2009 08:30:38 -0500, Steve Fábián <> wrote:

|Instead of creating the toolbar button, or (even better) in addition to
|creating it, create a short (e.g. 2-character) alias for the command CDD
|%_TCFILTER. If you create both, you never need to move your hand from the
|mouse to the keyboard and back (or from the keyboard to the mouse and back),
|your tool is already available where your hands are.

If I wanted such functionality, I'd make it a one-handed autoexecute keystroke
alias, say @@ctrl-z.
--
- Vince
 
May 20, 2008
3,515
4
Elkridge, MD, USA
vefatica wrote:
| Steve Fábián wrote:
|| Instead of creating the toolbar button, or (even better) in
|| addition to creating it, create a short (e.g. 2-character) alias
|| for the command CDD %_TCFILTER. If you create both, you never need
|| to move your hand from the mouse to the keyboard and back (or from
|| the keyboard to the mouse and back), your tool is already available
|| where your hands are.
|
| If I wanted such functionality, I'd make it a one-handed autoexecute
| keystroke alias, say @@ctrl-z.

Better and better!
--
Steve
 
Feb 22, 2009
2
0
vefatica wrote:
| Steve Fábián wrote:
|| Instead of creating the toolbar button, or (even better) in
|| addition to creating it, create a short (e.g. 2-character) alias
|| for the command CDD %_TCFILTER. If you create both, you never need
|| to move your hand from the mouse to the keyboard and back (or from
|| the keyboard to the mouse and back), your tool is already available
|| where your hands are.
|
| If I wanted such functionality, I'd make it a one-handed autoexecute
| keystroke alias, say @@ctrl-z.

Better and better!
--
Steve

Steve, I'm new with Take Command and don't understate how CDD %_TCFILTER would help me to keep the Folders and Tabs panels in sync (from directory point of view).
Would you elaborate please how it works?
Why not to create multi-tabs in the List View window like in other file managers?
Why multi-tab command line is more productive than multi-tab folders view?
Thank you in advance,
dmitryl
 
May 20, 2008
11,409
99
Syracuse, NY, USA
On Thu, 06 Aug 2009 15:50:58 -0500, dmitryl <> wrote:

|Steve, I'm new with Take Command and don't understate how CDD %_TCFILTER would help me to keep the Folders and Tabs panels in sync (from directory point of view).
|Would you elaborate please how it works?
|Why not to create multi-tabs in the List View window like in other file managers?
|Why multi-tab command line is more productive than multi-tab folders view?

I think CDD %_TCFOLDER is more appropriate.

You have to appreciate TCMD's legacy. Until relatively recently, Rex's efforts
(and long ago, the efforts of others) were completely directed at the command
line interface. It all started nearly 20 years ago (?) with 4DOS, a replacement
for MSDOS's COMMAND.COM. Later came 4NT (today's TCC), an alternative to
CMD.EXE. TCMD is the latest attempt to make the command line experience better
and more productive ... notably by integrating considerable GUI conveniences.
Tabbed explorer windows sounds good. I wouldn't be surprised to see it in a
future version.
--
- Vince
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,464
88
Albuquerque, NM
prospero.unm.edu
vefatica wrote:
| Steve F?bi?n wrote:
|| Instead of creating the toolbar button, or (even better) in
|| addition to creating it, create a short (e.g. 2-character) alias
|| for the command CDD %_TCFILTER. If you create both, you never need
|| to move your hand from the mouse to the keyboard and back (or from
|| the keyboard to the mouse and back), your tool is already available
|| where your hands are.
|
| If I wanted such functionality, I'd make it a one-handed autoexecute
| keystroke alias, say @@ctrl-z.

Better and better!

Here are mine. Not quite so quick as keystroke aliases, but I like 'em.

Code:
C:\>alias *here*
here=cdd /t .
there=if "%_tcfolder" ne "" cdd "%_tcfolder"
 
C:\>

Why is the console "here" while the GUI window is "there"? Maybe I'm prejudiced....
 
May 20, 2008
11,409
99
Syracuse, NY, USA
On Thu, 06 Aug 2009 16:44:14 -0500, Charles Dye <> wrote:

|Here are mine. Not quite so quick as keystroke aliases, but I like 'em.

Must be you can type, eh? I still use H&P (though I've gotten pretty good at
it).

|Why is the console "here" while the GUI window is "there"? Maybe I'm prejudiced....

DOS came before Windows, right?
--
- Vince
 
G

Glennbo51

Guest
vefatica wrote:

> On Thu, 06 Aug 2009 16:44:14 -0500, Charles Dye <> wrote:
>
> |Here are mine. Not quite so quick as keystroke aliases, but I like 'em.
>
> Must be you can type, eh? I still use H&P (though I've gotten pretty good at
> it).
>
> |Why is the console "here" while the GUI window is "there"? Maybe I'm prejudiced....
>
> DOS came before Windows, right?
>
And before that there was CPM
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Charles Dye wrote:
| ---Quote (Originally by vefatica)---
| DOS came before Windows, right?
| ---End Quote---
| http://www.cryptonomicon.com/beginning.html

... and CP/M long before PC-DOS, an unauthorized CP/M clone, bought by
Microsoft, and later paid for its unauthorized use...
http://www.digitalresearch.biz/CPM.HTM

... and one of the IBM mainframe operating systems was named "DOS" at least
as far back as 1976.

... X (X-window) originated at MIT in 1984. It's the root of all MS Windows!
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
D SYNC /W copies back instead of propagating a delete Support 2
Alpengreis [v22.00.41] sync command flag "/X" does not work Support 22
thorntonpg sync /S /F creating empty directories Support 5
Joe Caverly How to? Use SYNC with a network drive Support 4
M Sync folder/list view with command window? Support 2
R SYNC /T /W does not suppress "deleting" messages Support 0
V WAD SYNC command problem Support 2
CWBillow Sync Folder Tree and Command Window? Support 11
krischik SYNC crashes TCC Support 6
Peter Bratton Sync Surprise Support 6
P Sync /w won't delete in ftp folder Support 1
A Inverse of CDD /t c:\ (sync TCC currdir to Folders view)? Support 9
N Problem with Sync? Support 0
D Hiding file explorer navigation pane hides it in Windows Explorer Support 1
B WAD tab navigation broken Support 3
S Forum navigation problem Support 1
C Navigation to the webpage was canceled Support 14
D Differences between TCC and CMD with COPY /b Support 4
R Difference between TCC and CMD: variable names with hyphens Support 4
R Lines between COMMENT & ENDCOMMENT not ignored Support 7
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
M Command line parsing differences between cmd.exe and TCC Support 6
L WAD bad interaction between echox and command grouping Support 9
C Documentation difference between appdata and localappdata ? Support 6
T WAD Difference between TCC and CMD in handling multi-command lines Support 6
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
Joe Caverly How to? Move Window Between Monitors Support 6
epement differences in IDE/debugger between v12 and v14 Support 1
beerns different results between tcmd and cmd Support 2
C sharing global histories between different TCMD versions? Support 5
Jay Sage Inconsistency in Date Formats Between @DATE and @MAKEDATE Support 3
fpefpe Key Names to toggle between tab windows Support 1
Joe Caverly Move Buttons Between Tabbed Toolbars Support 2

Similar threads