New
#1
Get window information
I'm looking for a utility that will show information about a window. Any suggestions?
I'm looking for a utility that will show information about a window. Any suggestions?
Sorry, I meant window with a little w. Those rectangular areas that display various things from a program. Principally, Window Class.
@tcebob, for all such useful little utilities my first port of call is NirSoft. Again, they have not disappointed....
https://www.nirsoft.net/utils/winlister.htmlThis utility displays the list of opened windows on your system. For each window, some useful information is displayed: the title, the handle of window, location, size, class name, process number, the name of the program that created the window, and more...
Last edited by Bree; 12 Jul 2019 at 10:51.
Or use AutoHotkey's Active Window Info utility (AU3_Spy.exe - 797KB):
I'll go with the nirsoft. Thanks both.
... Later: Not so happy with winlister, will try Spy.exe
... Later still: Winlister looks pretty good after all.
Last edited by tcebob; 13 Jul 2019 at 13:33.
Hi there
@tcebob
all sorts of programs have window info possibilities -- any sort of Visual Basic, python, REXX, c++ etc etc.
What you need to do is use a programming technique called MVC or Model View Controller -- so you just program your application code and make calls to standard GUI / windowing facilities or "the view controller" - usually with decent library defined api's.
It's quite a good technique as you separate the "application" i.e the task you need to do from all the fiddly bits like window control, mouse ops etc etc.
I'm not quite sure what you really want to do but I'm assuming you want to attempt some coding.
Doing it this way allows your application to be reasonably "Platform Independent" and certainly "portable" across different OS'es-- the application stays the same but you just call the windowing / gui bits of the target OS.
some info here : Understanding Model-View-Controller
Linux has decent examples of this -- you can often choose several different GUI's on any particular Distro -- 3 of the most popular GUI's are GNOME, MINT and KDE -- you can usually run any (or most) properly written Linux applications to work on any of these GUI's without re-compilation or even re-installation.
Cheers
jimbo
Jimbo, I'm flattered by your recommendation to learn coding. And, in fact, I have dabbled in Python and coded in Autolisp. But it seems like overkill to learn and implement a whole new language just to find the parameters of a window. The above mentioned Winlister does the job.