LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find names of all open windows including other applications besides LabView VIs

Hi All, I have researched this subject, i.e., to find names of all open windows including other applications besides LabView VIs, but found no solution. Could someone suggest a solution to this?  Thanks.
Message 1 of 8
(7,696 Views)

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

Message 2 of 8
(7,673 Views)

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? 

0 Kudos
Message 3 of 8
(3,655 Views)

You do realize that you are responding to a post that is 15 years old.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 8
(3,649 Views)

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.

0 Kudos
Message 5 of 8
(3,627 Views)

Pretty sure it won't work for clones...

0 Kudos
Message 6 of 8
(3,592 Views)

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

0 Kudos
Message 7 of 8
(55 Views)

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:

wiebeCARYA_0-1737710792959.png

0 Kudos
Message 8 of 8
(15 Views)