Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

BatchLine and app switching

Aug
2,320
111
I'm using;
Code:
U:\>plugin /i batchline 
Module:      U:\BatchLine.dll
Name:        BatchLine
Author:      Charles Dye
Email:       [email protected]
Web:         https://charlesdye.net/plugins/batchline.html
Description: BatchLine plugin
Implements:
Version:     0.91  Build 0

...on...
Code:
TCC  33.00.11 x64   Windows 10 [Version 10.0.19045.4894]

With BatchLine active, and no running .btm,
switching among apps using ALT+TAB results in the following being displayed;
1728227147399.webp


I just keep ALT+TABing until I eventually get the app I want.

This does not appear to occur if I use the mouse to switch between apps,
only with ALT+TAB.

I realize that this is meant to be used just for .btms, for example,
Code:
@setlocal
@echo off
if not plugin Batchline plugin /l u:\batchline.dll
echo %@lines[%_batchname]
pause
call test1.btm
if plugin Batchline plugin /u u:\batchline.dll
endlocal

A suggestion would be to allow the BatchLine plugin to only load from a .btm,
and not from the TCC prompt.

Joe
 
Alt-Tab ought to group the popup window with the console or TCmd window that created it. That's very old code though; it will not recognize e.g. Windows Terminal or ConEmu. It might not play well with those.

That said... BatchLine is only a proof of concept. I don't advertise it because I don't think it's useful for anything — and I wrote the darn thing. Take Command's batch debugger is a far better tool for seeing what a batch file is up to.
 
Back
Top