Created
October 14, 2019 00:40
-
-
Save pointydev/3ba28c959969ba8f245a6afe114c794c to your computer and use it in GitHub Desktop.
AHK script to send a notification when UAC opens (mainly for when it opens minimised) - https://pointy.needs-to-s.top/7m5TKn6.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Persistent | |
#SingleInstance, Force | |
Menu, Tray, Tip, UAC Elevation Prompt | |
Menu, Tray, NoStandard | |
Menu, Tray, Add, UAC Elevation Prompt, Exit | |
Menu, Tray, Check, UAC Elevation Prompt | |
Menu, Tray, Default, UAC Elevation Prompt | |
Menu, Tray, Disable, UAC Elevation Prompt | |
Menu, Tray, Add | |
Menu, Tray, Add, Exit, Exit | |
Menu, Tray, Icon, imageres.dll, -78, 1 | |
Loop { | |
Process, Wait, consent.exe | |
TrayTip,, UAC is prompting for elevation. | |
Process, WaitClose, consent.exe | |
Menu, Tray, NoIcon | |
Menu, Tray, Icon | |
} | |
Exit: | |
ExitApp | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment