1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sync navigation between Folders List panel and the Tabs console

Discussion in 'Support' started by dmitryl, Aug 4, 2009.

  1. dmitryl

    Joined:
    Feb 22, 2009
    Messages:
    2
    Likes Received:
    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
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    dmitryl wrote:

    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
     
  3. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    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
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    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
     
  5. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    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
     
  6. dmitryl

    Joined:
    Feb 22, 2009
    Messages:
    2
    Likes Received:
    0
    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
     
  7. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    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
     
  8. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    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....
     
  9. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    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
     
  10. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
  11. Glennbo51

    Glennbo51 Guest

    vefatica wrote:

    And before that there was CPM
     
  12. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    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
     

Share This Page