04-13-2007 12:09 PM
04-18-2007 02:28 PM - edited 04-18-2007 02:28 PM
Hi,
Certainly! The Windows API Function Utilities (32-bit) for LabVIEW includes set of LabVIEW libraries (llb) with VIs that make calls to the Windows Application Programming Interface (API) for managing and controlling windows (minimize, maximize, move, resize, rename, close, and so on) including task list with names of windows application running. The Readme.doc contains information on running these VIs.
Attached below is a zipped file with a VI that list the names of all opened windows.
Tunde
Message Edited by Tunde A on 04-18-2007 02:28 PM
03-11-2022 11:13 AM
Hi there Tunde, thank you for the reply to this. I'm facing the same challenge and when I tried the contents of your zip, it returned all the windows, but still lumped all the labVIEW windows together under one Array Entry. Is there any way to get a list of windows like what "Ctrl+Shift+W" provides programmatically? was that the original intent of this question?
03-11-2022 11:27 AM
You do realize that you are responding to a post that is 15 years old.
03-12-2022 11:06 AM
Yup. The quest "to find names of all open windows" transcends time. Looks like another Commenter may have solved this issue
here for me! https://forums.ni.com/t5/LabVIEW/Need-All-Windows-Ctrl-Shift-W-Conversion-to-Array/m-p/4216603#M1222...
In case this helps anyone else in the NEXT 15years.
03-14-2022 03:55 AM
Pretty sure it won't work for clones...
01-23-2025 07:44 AM
Hi Yedinak,
I know that also I'm responding to a post very old, but I have this problem:
task list is not a Windows name list.
I will try to explain it better: I'm using a LV app that opens multiple exe occurrences.
Internally, for each istance I change the windows name to distinguish between them.
And then I need to know which of them are still opened and which are not.
When I open the task list, with CTRL-ALT-CANC, I see the exe name, and in its details the window name that I care.
How can I obtain that detail?
Thanks
01-24-2025 02:56 AM - edited 01-24-2025 03:26 AM
Nowadays I'd try a .NET solution, but this VI still works:
Re: how to get currently running application names on windows - NI Community
The posts following it might show interesting variations...
BTW Both LabVIEW and LabVIEW executables VI windows have the classname "LVDChild". So if you modify the VI you'll only get VI windows: