Just to be sure, what does this msgbox say, if you add it to the top of the script?
Code: Select all
msgbox % A_IsAdmin
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: ↑Yesterday, 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")