Tray Icon Right Click for Windows 11

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
haomingchen1998
Posts: 170
Joined: 20 Feb 2023, 16:37

Tray Icon Right Click for Windows 11

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:
Image

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
viewtopic.php?p=494583
Image

It seems like there aren't any working options, any other ideas? Thanks!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Dobbythenerd1, lechat and 250 guests