Welcome!

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

SignUp Now!

Identity of active window

May
572
4
Is there a way for a .btm running in the background (and which does not have input focus) to find the identity of the active window?
 
Is there a way for a .btm running in the background (and which does not have input focus) to find the identity of the active window?
My SYSUTILS plugin has @FGWIN which will return the properties you ask for.
Code:
v:\> help @fgwin
@FGWIN[TCPMXYWH] = word list of spec'd foreground window properties
Options: Title, Class, Pid, Module, X(pos), Y(pos), Width, Height

v:\> delay 5 & echo %@fgwin[TCPMXYWH]
"Identity of active window | Take Command Windows command processor - Mozilla Fi
refox" "MozillaWindowClass" 2528 "l:\firefox\firefox.exe" 2 1 1272 993
 

Similar threads

Back
Top