Skip to content

Instantly share code, notes, and snippets.

@Memphizzz
Last active March 5, 2018 15:30
Show Gist options
  • Save Memphizzz/b27fe6c8e766b32a15f22d34c1b7be63 to your computer and use it in GitHub Desktop.
Save Memphizzz/b27fe6c8e766b32a15f22d34c1b7be63 to your computer and use it in GitHub Desktop.
#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