Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

sync navigation between Folders List panel and the Tabs console

Feb
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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....
 
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
 
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
 
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

V
Replies
2
Views
2K
Vovan
V
Back
Top