Is there a way to use Python to get a list of all the icons in the system tray (lower right hand corner) and their associated processes and executables?
Here is a thread on how to do this using AHK:
http://www.autohotkey.com/forum/topic17314.html
but it relies heavily on AHK.
Note that I’m interested this for in Windows XP/7
Thanks!
This is thick, thick win32 stuff. I started writing this using pywin32 but switched over to ctypes to better deal with the structures. Note, I wrote this in 32 win XP. You’ll have the change the TBBUTTON def for 64 bit. I am not sure what UAC will do to this (can you allocate memory in another process?).