Welcome!

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

SignUp Now!

Windows technology and TC

Jan
16
0
Does the technology in windows allow the close interaction of the GUI part of TC which would enable interactions with the command line portion directly? In other words, will it ever be possible to have the following in TC?

(1) A follow-me concept. Where you navigate in the GUI is mirrored at the command line automatically. And changing directories at the command line makes the GUI automatically change to the appropriate directory.

(2) Suppose number (1) could be done then could the command line have, say, a "highlight" command like:

c:\docs > highlight *.doc *.xls

which would highlight the files in the GUI part just as if you Ctrl-left click each one in the GUI. Which then might allow you to right click in the GUI and perform some action on these highlighted files.

A user could seamlessly move back and forth between the GUI part of TC and the command line.

I'm guessing the answer will come back that windows doesn't allow this.

Matt
 
----- Original Message -----
From: "Matt" <>
To: <[email protected]>
Sent: 2009. November 11., Wednesday 22.52
Subject: [Support-t-1571] Windows technology and TC



> Does the technology in windows allow the close interaction of the GUI part
> of TC which would enable interactions with the command line portion
> directly? In other words, will it ever be possible to have the following
> in TC?
>
> (1) A follow-me concept. Where you navigate in the GUI is mirrored at the
> command line automatically. And changing directories at the command line
> makes the GUI automatically change to the appropriate directory.

Mirroring the GUI folder navigation in TCC can be automated using the
_tcfolder variable, by putting the command
*CDD "%_tcfolder"
into PRE_EXEC or into PRE_INPUT.

The /T option of the CDD command causes mirroring the TCC directory in the
GUI.



>
> (2) Suppose number (1) could be done then could the command line have,
> say, a "highlight" command like:
>
> c:\docs > highlight *.doc *.xls
>
> which would highlight the files in the GUI part just as if you Ctrl-left
> click each one in the GUI. Which then might allow you to right click in
> the GUI and perform some action on these highlighted files.
>
> A user could seamlessly move back and forth between the GUI part of TC and
> the command line.
>
> I'm guessing the answer will come back that windows doesn't allow this.

This sounds like a nice feature for a future version.
--
Steve
 
Thanks for the reply Steve. I downloaded TC 11 and tried the PRE_INPUT alias defined as `*CDD "%_tcfolder"`.
It seems to take a few <enter> hits in the TCC prompt to get it to change directories to %_tcfolder.

Maybe I'm thinking of a feature request (ie option) for a "special" TCC prompt which is updated in "real time" as you navigate the GUI.

Matt



----- Original Message -----
From: "Matt" <>
To: <[email protected]>
Sent: 2009. November 11., Wednesday 22.52
Subject: [Support-t-1571] Windows technology and TC





Mirroring the GUI folder navigation in TCC can be automated using the
_tcfolder variable, by putting the command
*CDD "%_tcfolder"
into PRE_EXEC or into PRE_INPUT.

The /T option of the CDD command causes mirroring the TCC directory in the
GUI.





This sounds like a nice feature for a future version.
--
Steve

</[email protected]>
 
Obviously meant "a few hits of the Enter key" to get the TCC prompt to reflect the changed directory in the GUI.

Thanks for the reply Steve. I downloaded TC 11 and tried the PRE_INPUT alias defined as `*CDD "%_tcfolder"`.
It seems to take a few <enter> hits in the TCC prompt to get it to change directories to %_tcfolder.

Maybe I'm thinking of a feature request (ie option) for a "special" TCC prompt which is updated in "real time" as you navigate the GUI.

Matt





</enter>
 
> (1) A follow-me concept. Where you navigate in the GUI is mirrored at
> the command line automatically. And changing directories at the
> command line makes the GUI automatically change to the appropriate
> directory.

This is a commonly requested feature from new TCMD users, but it's generally
not as useful as you think. (As Steve noted, it can be done with existing
options.)

The problem is that it makes it hard-to-impossible to view different
directories, or to browse through the GUI tree. And drag & drop between the
GUI windows and the TCC window becomes largely pointless.

(It would also only be possible while in a TCC window, not CMD, Powershell,
bash, etc.)


> (2) Suppose number (1) could be done then could the command line have,
> say, a "highlight" command like:
>
> c:\docs > highlight *.doc *.xls
>
> which would highlight the files in the GUI part just as if you Ctrl-
> left click each one in the GUI. Which then might allow you to right
> click in the GUI and perform some action on these highlighted files.

You already have the TCFILTER command, which filters the list view display
to the requested names. It doesn't highlight them (though that wouldn't be
hard to add in a future version), but once you've displayed the right files
a ^a would mark them all and you could then right-click & do whatever you
wanted.

Rex Conn
JP Software
 
On Thu, 12 Nov 2009 07:59:33 -0600, rconn <> was
claimed to have wrote:


>---Quote---
>> (1) A follow-me concept. Where you navigate in the GUI is mirrored at
>> the command line automatically. And changing directories at the
>> command line makes the GUI automatically change to the appropriate
>> directory.
>---End Quote---
>This is a commonly requested feature from new TCMD users, but it's generally
>not as useful as you think. (As Steve noted, it can be done with existing
>options.)
>
>The problem is that it makes it hard-to-impossible to view different
>directories, or to browse through the GUI tree. And drag & drop between the
>GUI windows and the TCC window becomes largely pointless.

Personally, I never do any of the above. My only use for the directory
and file views are to give me a live view of where I am and the files
around me while I work.

Obviously this doesn't work for everyone, but for individuals such as
myself, this type of functionality would be useful. One of these days
I'll get around to trying out Steve's suggestion myself.

It occurs to me that if you wanted a best of both words, double clicking
on a directory (in the tree) would change TCC's directory, whereas
single clicks and drags in the tree wouldn't need to do similar.


>(It would also only be possible while in a TCC window, not CMD, Powershell,
>bash, etc.)

True. I honestly couldn't tell you the last time I ran anything in a
TCMD window other then TCC or something transient launched from a TCC
session.
 

Similar threads

Back
Top