So, I am writing a dock / taskbar application similar to the application. What I want to do is pretty simple, display a list of running programs.
I found many ways to list all running processes, but after several hours of searching on Google, I can’t find a way to determine which ones should be displayed on the taskbar.
Take, for example, the Windows task manager. It has two tabs, one called "Applications" and one of the named processes. Processes contain all system processes, while programs somehow get a list of "applications" running on the computer. I want to have access to the list of applications in my program, and not to the list of processes, so in my pseudo-taxbar I do not show things like taskhost.exe, winlogon.exe, etc.
Ideally, I could get an accurate list of programs displayed on the taskbar. My program is in Python, and I have access to the Windows API and WMI, but if I have to write python shells for C functions, I will do it.
As far as I can tell, the Windows Tasksbar API is more suitable for tasks such as adding menups or progress indicators for existing icons, I could not find ways to access the information I'm looking for. Am I mistaken?
Thank!
jmite source
share