Code: Select all
*XButton1::Suspend
Code: Select all
*XButton1::Suspend
Code: Select all
msgbox % A_IsAdmin
Your script needs elevated rights when an elevated window is active. If you follow the link above, you'll find a few options.gregster wrote: ↑17 May 2024, 15:38But a guess: a permissions issue because Task Manager and other system windows run with elevated rights -> https://www.autohotkey.com/docs/v1/FAQ.htm#uac
Code: Select all
v::
while (GetKeyState("v", "P"))
tooltip % A_Index
return
Code: Select all
dz := WinGetTransparent("A")