Tray Icon Right Click for Windows 11
Posted: 14 Apr 2024, 21:09
Hi, I'm trying to right click a program in hidden tray icon, and click on the last option from below:
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:
viewtopic.php?p=494583
It seems like there aren't any working options, any other ideas? Thanks!
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!