WINDOW doesn't work under TCMD v11 x64 b40 ?

May 21, 2008
20
0
Berne, Switzerland
Folks,

I'm trying to reposition my TCMD v11 x64 Build 40 window on a 1920x1280 screen to the bottom right hand corner.

According to the docs, this is the syntax for the WINDOW call:

Usage : WINDOW [MIN | MAX | RESTORE | HIDE | TOPMOST | NOTOPMOST | TOP | BOTTOM | TRAY | /POS=left,top,width,hei
ght | /SIZE=rows,columns | /TRANS=n | "title"]

and I'm calling it like this:

window /POS=1070,430,850,725

Hmmm.... what am I doing wrong? Or is there a bug in the WINDOW function? It seems to me I'm exactly following this parameter syntax:

/POS=left,top,width,height

but it seems, TakeCommand disagrees :-(

Any ideas?
 
May 20, 2008
11,391
99
Syracuse, NY, USA
On Tue, 16 Feb 2010 09:20:28 -0500, mscheuner <> wrote:

|---Quote (Originally by rconn)---
|/POS is not supported in Take Command tab windows (see the help for WINDOW).You should be using the ACTIVATE command.
|---End Quote---
|But doesn't that operate on a single TCC tab window? I want to influence the whole TakeCommand shell - with all the tab windows inside.....

WINDOW /POS works on a single console window, irrelevant in TCMD because the
console window is not visible. ACTIVATE will move the main TCMD window (and all
else in TCMD will move with it).
--
- Vince
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
> ---Quote (Originally by rconn)---
> /POS is not supported in Take Command tab windows (see the help for
> WINDOW).You should be using the ACTIVATE command.
> ---End Quote---
> But doesn't that operate on a single TCC tab window? I want to
> influence the whole TakeCommand shell - with all the tab windows
> inside.....

No. You cannot use WINDOW /POS in a TCC tab window.

You must use ACTIVATE /POS if you want to affect the Take Command window.
And when you do, you'll probably break most console apps (other than TCC),
which aren't expecting the console window to randomly change sizes after
startup.

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
B bdebugger doesn't load btm-file in window Support 1
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
M Call History popup-window? Support 0
D How cut in TCC tab window Support 5
S Paste in TCC/TCMD window is very slow [v20.0.22] Support 13
C How to? Feed keys to firefox (Yahoo Mail) window Support 4
C How to? Feed keys to firefox (Yahoo Mail) window Support 0
C How to? run a BTM in elevated, inv tcc tab window Support 9
vefatica Ctrl-Enter in command history window? Support 8
D Take Command tab only uses half of window Support 1
CWBillow Power Shell in a TCMD window Support 5
vefatica TCC window caption in elevated session? Support 5
vefatica New File Explorer window Support 1
T 64 bit TCCLE appears to crash when opening tcc.exe from within tcc.exe window Support 7
D WAD TASKBAR window commands confuses our friends at MS Support 4
F EDIT FIELD in a popup window Support 2
samintz Flashing window Support 4
fpefpe How to? folder / explorer window Support 10
C Msg Popup window does not close Support 8
Jay Sage Failure of ACTIVATE to Set a Window Position Support 3
R Minor Cosmetic Issue in Take Command Window Support 2
D TCMD 17 window border and mouse cursor Support 10
rps Command Input Window tab completion broken Support 7
Charles Dye OPTION dialog appears underneath Take Command window Support 4
nickles activate "..." hide hides the foremost window Support 3
vefatica WAD Window title Support 13
mikea How to? @select[] window size, redux. Support 3

Similar threads