Last active
March 5, 2018 15:30
-
-
Save Memphizzz/b27fe6c8e766b32a15f22d34c1b7be63 to your computer and use it in GitHub Desktop.
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
#NoTrayIcon | |
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_Outfile=UACHelper_x86.exe | |
#AutoIt3Wrapper_Outfile_x64=UACHelper.exe | |
#AutoIt3Wrapper_Compile_Both=y | |
#AutoIt3Wrapper_Run_Tidy=y | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
Dim $class = "[CLASS:Credential Dialog Xaml Host]" | |
While True | |
If WinExists($class) Then | |
$winHandle = WinGetHandle($class) | |
WinActivate($winHandle) | |
Else | |
Sleep(500) | |
EndIf | |
WEnd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment