-
Notifications
You must be signed in to change notification settings - Fork 500
Description
Describe the bug
Hello,
I'm using Start Menu only to trigger Win+X keyboard shortcut while left clicking start orb or using Win key. I've prepared ahk script to trigger that shortcut, converted it to exe file, and assigned it to both custom commands. It does not trigger only when currently focused app have been run as admin, like terminal or task manager.
Area of issue
Start menu
To reproduce
-
Save this ahk script and convert it to exe file using Ahk2Exe:
#Requires Autohotkey v2.0
#SingleInstance Force
#NoTrayIcon
SendMode("Input")
SetWorkingDir(A_ScriptDir)
Send("#x") -
assign exe file to two Custom commands: Left click and Windows key
-
run terminal as admin or task manager
-
try to trigger exe filew with Windows key while either window is focused
Expected behavior
Trigger normally as it would with Windows key, when no window is focused or focused window runs in non-elevated session
Open-Shell version
4.4.195
Windows version
Windows 11 24H2 26100.2894
Additional context
No response