Welcome!

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

SignUp Now!

Class Name of the Console Window

Aug
2,799
144
A couple of new additions to the MyWindow plugin ( thanks @Charles Dye )

From a stand-alone TCC;
Code:
E:\Utils>plugin /i mywindow
Module:      E:\utils\MyWindow.dll
Name:        MyWindow
Author:      Charles Dye
Email:       [email protected]
Web:         https://charlesdye.net/plugins/mywindow.html
Description: Reimplements ACTIVATE and WINDOW with support for Windows Terminal, Console2, and ConEmu.
Implements:  activate,window,@mywindow,@vdesk,_contype,_vdesk,_vdesks,_wintermexe,_wintermver
Version:     0.99  Build 3

E:\Utils>echo %@mywindow[23]
ConsoleWindowClass

E:\Utils>echo %_CONTYPE
Console

From TCC in Windows Terminal;
Code:
E:\Utils>echo %@mywindow[23]
PseudoConsoleWindow

E:\Utils>echo %_CONTYPE
ConPTY

Joe
 
The two are really doing the same thing; they just return different strings.
 
Back
Top