Failure with WINDOW Command

Status
Not open for further replies.
Jun 2, 2008
376
2
Newton, MA
When I issue a command like the following:

WINDOW /POS=0,0,500,500

all I get is a syntax message. It seems to me that this follows exactly
what the help for the WINDOW command says should work (with or without
the slash before POS). What's wrong?

-- Jay
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,448
88
Albuquerque, NM
prospero.unm.edu
When I issue a command like the following:

WINDOW /POS=0,0,500,500

all I get is a syntax message. It seems to me that this follows exactly
what the help for the WINDOW command says should work (with or without
the slash before POS). What's wrong?

In Take Command, or in a standalone TCC?
 
Jun 2, 2008
376
2
Newton, MA
In Take Command, or in a standalone TCC?

Sorry, I should have made that clear. in Take Command.

The problem is probably that the window positioning option works only with stand-alone TCC. It would be nice if the help information included a note to that effect.

This begs the question: how DO I set the position/size of the Take Command window?

-- Jay
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
Sorry, I should have made that clear. in Take Command.

The problem is probably that the window positioning option works only with stand-alone TCC. It would be nice if the help information included a note to that effect.

This begs the question: how DO I set the position/size of the Take Command window?

-- Jay

You cannot resize the Take Command window from a TCC tab window using the WINDOW command. This is WAD, as a lot of programs (though not TCC) take it very badly when their window size changes.

If you're determined to resize the window and you're only running TCC in the tabs, you can use the ACTIVATE command.
 
Jun 2, 2008
376
2
Newton, MA
You cannot resize the Take Command window from a TCC tab window using the WINDOW command. This is WAD, as a lot of programs (though not TCC) take it very badly when their window size changes.

If you're determined to resize the window and you're only running TCC in the tabs, you can use the ACTIVATE command.

I tried that, and Take Command vanished. From then on I could not run it at all. It must have gotten positioned entirely off the screen. Finally I had the idea to run ACTIVATE "TC 10 *" MAX, and that made it reappear.

I'm not trying to make frequent changes; I just want TC to come up with a standard size and position. Also, after using an LCD projector, the window gets messed up, and I'd like to have an alias that will restore it to the original configuration on my high-resolution laptop screen. (The other way to prevent that problem is to close TC before sending the video to the projector -- just minimizing is not sufficient -- but I often forget.)

-- Jay
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Failure of ACTIVATE to Set a Window Position Support 3
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
M MOVE does not behaves like intended (on failure) Support 1
M WAD /elevated failure... Support 13
M TCmd Failure... Support 1
M Start "/Elevated" failure... Support 3
C TakeCommand 18 Installation Failure Support 13
M A UNC name failure... Support 28
S WAD Xenforo posts - EMAIL delivery failure Support 18
M %_EXECARRAY failure... Support 2
Stefano Piccardi UTF-8 BOM marker @iniread failure Support 6
S Failure: _EXECARRAY Support 1
S @DEVICE failure Support 7
Roedy reame.txt failure in installer Support 1
D iftp failure after upgrading to build 65 Support 9
N Command History Failure? Support 3
N Directory wildcard failure? Support 1
J dir failure with some unicode characters Support 6
J V12 PDIR failure Support 1
J OT: Windows 7 failure Support 24
U failure to load plugin Support 5
Jay Sage Failure in TCMD Help with Favorites Support 9
S SHORTCUT command failure Support 1
S Recent website and forum failure Support 9
J Find failure dialog box failure Support 0
dcantor IF ISAPP failure Support 12
R History window wrong size, can't remember size change Support 12
R @select inside alias gives different (insanely small) window Support 7
K_Meinhard How to? Help window position Support 7
D Directory History Window with wildcard search Support 3
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
ntak About window size notification Support 6
R Batch Debugger Command Expansion Window Support 3
R How do I get a Git Bash shell to appear in TCC window? Support 7
G Press on another Window Support 24
Peter Murschall IDE: After undocking the command expansion Window is offended Support 2
T TCC Window Background Color Anomaly Support 9
A v25 BC break in WINDOW and ACTIVATE Support 12
vefatica BTM, elevated, console window caption? Support 4
W Hide window Support 7
R How to? START program as top window? Support 2
P No linefeed on last line of console window Support 2
scottb How to? ipconfig output in current window Support 4
R How to? Change TCMD tab font size in window menu Support 3
T Fixed IDE locks up if edit window for running batch is closed Support 6
E How to change window title tcmd window - not tcc window Support 1
jaltman tcmd 21.0.19 win10 16179 console window loses content Support 2
B How to get window status of a running app Support 3
James Miller tcc shell window does not disappear Support 18

Similar threads