Windows technology and TC

Jan 15, 2009
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
 
May 20, 2008
3,515
4
Elkridge, MD, USA
----- Original Message -----
From: "Matt" <>
To: <ESFabian@comcast.net>
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
 
Jan 15, 2009
16
0
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: <esfabian@comcast.net>
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

</esfabian@comcast.net>
 
Jan 15, 2009
16
0
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>
 

rconn

Administrator
Staff member
May 14, 2008
12,316
148
> (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
 
Nov 13, 2008
255
3
www.thedave.me
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
Thread starter Title Forum Replies Date
vefatica Windows 10 themes Support 0
J Take command does not start on Windows 10 Support 3
D How to? Windows Key-Left and Windows Key-Right Support 9
Joe Caverly PYTHON from Microsoft Windows Store Support 2
D Open Windows 10 Photos app from command line Support 11
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
vefatica Console popup windows don't work correctly Support 0
D Layout debugger windows Support 2
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
nickles ANSI Colors Windows 7 no longer working Support 6
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
D Which is the latest version for Windows XP? Support 2
rconn News Windows 7 Support Support 0
Joe Caverly Windows Size is 80x0 Support 2
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
G Taskbar Windows 10 Support 7
T Windows Terminal Support 2
Joe Caverly Windows Sensor Support 5
vefatica Windows 10 and line wrapping selection? Support 6
fishman@panix.com New Problem with later Windows 10 Support 10
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
T Take Command v21 on Windows Server Support 1
Bill de Haan "Sensitive Privilege Use" in Windows security auditing Support 7
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
Joe Caverly What version and Windows OS are you using? Support 3
A Windows 10 This app can't run on your PC Support 2
G 4NT on Windows 10 Support 3
vefatica Undesired scrolling in Windows 10 enhanced console. Support 2
vefatica Windows 10 version number? Support 6
vefatica How do I see Windows 10's ANSI in action? Support 3
A List windows with titles matching given pattern? Support 2
M New "pinned" attribute (since Windows 10 1709) Support 6
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
M TCC incorrect dir output since Windows 1803 Support 6
G Version 20.11 installed on Windows 10 problems Support 9
fishman@panix.com TCC v22 & the Windows 10 Console Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
I tcmd versus tcc in Windows 10 Support 2
Dick Johnson DrawBox now broken in Windows 10? Support 6
CWBillow Editing in the root directory of windows 10 Support 6
CWBillow Clearing out the Windows Temp folder Support 2
H New command not working well in Windows 7 Support 4
H _winver shows 6.1 on windows 7 Support 7
Joe Caverly Windows x64 Support 4
mscheuner TCMD 20 on Windows 10 - always loosing its settings Support 1
fishman@panix.com Windows Installer failing again... Support 6
M Windows Installer bug? Support 4

Similar threads