Get tab position and size

I meant the window below the tab. I don't want to write to the window. I want to pop up my editor over the window. That's the main feature of LIST that I use: it runs in the existing window rather than opening in a random location. The following btm file works reasonably well for a TCC console window, but not when run in a tab.

Code:
*on errormsg cancel
*setlocal
*unalias *
set pos=%@winpos[=%_pid]
set size=%@winsize[=%_pid]
set cols=%@max[10,%@eval[(%@word[1,%size] \ 7) - 6]]
set lines=%@max[10,%@eval[(%@word[0,%size] \ 11) - 6]]
"%@shfolder[42]\Eps13\bin\epsilon.exe" -p0 -ka73 -vx%@word[1,%pos] -vy%@word[0,%pos] -vc%cols -vl%lines %$

Or, maybe this suggestion will be in the next version: https://jpsoft.com/forums/threads/add-view-option-to-open-in-same-position-as-current-window.8191/
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Tab (^t) in @FILEWRITE's text Support 2
D TCC tab detaching & restarting Support 3
Joe Caverly Changing the TAB key Support 10
fpefpe bash.exe as a tab Support 0
C How to? Mouse support in WSL when in Take Command Tab Support 2
P How to enable \ with tab completion Support 4
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Joe Caverly Tab from clipboard Support 6
Joe Caverly Clone a TCC Tab Support 9
R New Cloud Storage Tab in TCC options causing problems Support 0
CWBillow PowerShell tab as Admin Support 2
vefatica TYPE resets console tab settings Support 14
CWBillow TCMD PowerShell Tab elevated Support 6
CWBillow Take Command tab as PowerShell Support 3
Fross Tab Question Support 6
CWBillow TCMD Tab Defs Support 4
L WAD In console, tabs are rendered with non-uniform tab-stop spacing Support 16
Emilio III TCMD Tab titles on Insider Windows Support 2
P Run as Admin tab in non-elevated Take Command session? Support 9
CWBillow Powershell tab in TCMD? Support 2
Phileosophos Startup tab layout Support 2
M How to? How to set a default TITLE for newly opened tab? Support 2
R How to? Change TCMD tab font size in window menu Support 3
C Running PowerShell_ISE in a Tab Support 7
D How cut in TCC tab window Support 5
C How to? run a BTM in elevated, inv tcc tab window Support 9
D Take Command tab only uses half of window Support 1
rps Tab clone problem Support 2
C MONITOR commands alter tab title when triggered Support 0
D Tab completion differences with cmd.exe Support 3
H lua Causes Take Command Tab to Exit Support 5
vefatica Tab completion? Support 4
D How to? How to show variables expanded in the log tab Support 3
I tab completion with directory commands Support 7
R Fixed v17.0.54 Tab->COMSPEC Dialog Box Issue Support 2
vefatica Fixed Crash removing toolbar tab Support 1
I v16 Spawning a PowerShell tab Support 3
Jay Sage Getting Quote Characters into a Toolbar Tab Support 12
Jay Sage "New Tab" Strangeness Support 2
rps Command Input Window tab completion broken Support 7
David Wilbanks How to make new tab open in same directory as previous tab? Support 4
tmaynard How to? Any way to run a command in a new tab at startup? Support 18
A How to? Frozen session tab with "ERROR: The file is either empty or does not contain the valid choices." Support 19
W Opening a new tab takes forever to get the command prompt Support 5
Joe Caverly VIEW window in a TCC tab window problems Support 5
B WAD tab navigation broken Support 3
D Console window titles / tab caption Support 4
Joe Caverly New Tab In TCMD Changes TCC Window Size Support 1
vefatica Fixed TCMD tab horizontal scroll bar Support 5
fpefpe How to? start command /tab option/switch Support 6

Similar threads