I tried TrayIcon library from Sean below, but it no longer works with windows 11:
viewtopic.php?p=9186#p9186
I then try the wmic approach using flyingDman's code from below link, but it only returns the path of the program:
flyingDman's code that I used below:
Code: Select all
cnt := 0
gui, add, listview, w1000 r40,#|ID|name|commandline
for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process")
lv_add("",++cnt,process.processID,process.name,process.commandline)
LV_ModifyCol()
gui, show
It seems like there aren't any working options, any other ideas? Thanks!