Is there any way to open the Take Command options dialog from the command line?

Aug 28, 2008
124
4
I often use the OPTION command to open the TCC options dialog for new tabs, but is there any way to open the TakeCommand options dialog from the command line as well? It's the one that you get when you click the first icon on the "Options" ribbon, which has "Windows", "Tabs", "Advanced", and "Register" pages. I thought I remembered finding one before but can't find any reference to it in the help. Thanks in advance!
 
May 20, 2008
11,285
95
Syracuse, NY, USA
For versions 24,25, and 26, if TCC is running in TakeCommand, this command will do it (does it here).

Code:
keystack Alt-O Enter

In v27, Alt does not activate the main menu!
 
May 20, 2008
11,285
95
Syracuse, NY, USA
That was my fault. I wasn't using the correct Alt key.

Actually it does work in v27 but you must use the Alt key that's kept by TakeCommand (the checked one on the Option/Tabs page).
 
Aug 28, 2008
124
4
How does one keystack the right Alt key as opposed to just the Alt key, which appears by default to be the left?
 
Aug 28, 2008
124
4
Aha! Thanks to the KeyboardStateView utility, I was able to figure out that in Windows the left and right Alt keys can be referenced by numeric codes 164 and 165 respectively. Armed with that fact, keystack let me achieve what I was after with the following command:

keystack 165-O Down Enter

That works with my changes to the Alt/Ctrl keys used by TakeCommand. Now I have a simple "TCOPTION" alias that does what I want. Thanks for putting me on the right trail!

UPDATE: Hmm.... That only worked until I made it an alias, and now it's not working at all. How weird. Clearly, I need to do some more investigation. I'll keep updating this until I find something that works...

The good news is that "keystack alt-O down enter" always works properly if you have TakeCommand configured to use the left Alt key. The bad news is that I can't find any reliable way to configure TakeCommand to use the right Alt key (so the command-line editing shortcuts that rely on Alt work as I expect) and invoke that dialog. Any thoughts, folks?
 
Last edited:
May 20, 2008
11,285
95
Syracuse, NY, USA
I was trying that too. What version of TCMD do you have? With v27 and RightAlt checked in the options, I get nonsense from
keystack 165-O Down Enter
... usually something from the command history starting with 'o'.
 
Aug 28, 2008
124
4
The "ver /r" command shows as follows:

TCC 27.01.23 x64 Windows 10 [Version 10.0.19042.985]
TCC Build 23 Windows 10 Build 19042

I find it all works nicely if I can tolerate letting TakeCommand have the left Alt key, but that's irritating to me.
 
Similar threads
Thread starter Title Forum Replies Date
D Open Windows 10 Photos app from command line Support 11
R How to? Open Take Command at current folder Support 7
daniel347x Open a bash shell in Take Command? Support 2
M open Take Command here right-click? Support 2
D everything /o does not open the option dialog Support 4
A How to? How do you launch TCC/LE using the already-open instance? Support 5
David Wilbanks How to make new tab open in same directory as previous tab? Support 4
C OT: Registry OPEN verb to start elevated... Support 2
epement Fixed Row/Col status bar flips continuously when 2 files open Support 4
S How to? Use Forum "feedback" button to open in a new tab Support 3
Mordachai Fixed Closing TCMD while IDE + Help Open = Crash Support 7
D How to? V15.00.30 -(help!) - Floating view windows don't open Support 1
C How to? Shell Window remains open Support 6
vefatica Open properties for .LNK? Support 16
Charles Dye IFTP, current directory, open new connection Support 0
E WAD Open handle on USB drive in TCC Support 3
R How to? can not open jvm.cfg help Support 2
fishman@panix.com Is there a way to get the HELP screen to open maximized? Support 4
MBaas GUI-Tool for "File/Open" or tree (for use in batch-files) Support 3
P TCMD 11.0.28 does not open its window Support 15
CWBillow Context Menu "Open With" Support 10
T Open & Configure multiple TCC windows on STARTUP Support 4
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
T Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) Support 0
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
J Take command does not start on Windows 10 Support 3
vefatica `Back quotes` - command line vs. batch file Support 5
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
Phileosophos Command-line Editing Shortkeys That Fail Support 6
fpefpe How to? free (internal) command Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
T How to? retain command history across reboot? Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
GermanDirk How to? EVENTLOG Command with simple User Rights not functional Support 4
Jay Sage Take Command Is Too Fast! Support 4
Jay Sage Comparison of IF with Command Group and IFF Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
U Can not get/start Take Command gui Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
S Increasing Font Point Size in Command Tabs Support 2
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica Command name mix-up Support 3
FreezerBurnt "Missing SETLOCAL" when initializing Visual Studio Command Prompt. Support 9
E How to? Closing desktop created by DESKTOP command Support 10
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
K Take Command fox XP? Support 7
Joe Caverly Documentation Replace internal command with LIBRARY command Support 0

Similar threads