3 posts in this topic
Windows 10 RunAs script problem
I have a problem, I cant run script as administrator in Windows 10:
Global $sUserName = "administrator"
Global $sPassword = "pass"
Global $sDomain = "domain"
RunAsWait($sUserName, $sDomain, $sPassword, 2, "main.exe", "", @TempDir)
If I run "run.exe" it dont work...
If I change main.exe to this:
and it runs and shows administrator in message box... but it cant elevate main.exe with RegWrite() command...
I tried using #RequireAdmin in first line of main.exe, but it not worked... UAC is set to "do not notify"
This method of elevation worked on Windows 7 and Windows XP...
[Solved] WinMenuSelectItem doesn't work with my Dutch Notepad
I have a Dutch version of Windows 10.
The Dutch word for "File" = "Bestand" and for "Page Setup" = "Pagina-instelling".
WinMenuSelectItem doesn't select this items. What can be the reason?
Run("notepad.exe") WinWaitActive("[CLASS:Notepad]") WinMenuSelectItem("[CLASS:Notepad]", "", "Bestand", "Pagina-instelling...") Sleep(4000) WinClose("[CLASS:Notepad]")
[SOLVED] How to solve this problem?
When I use the following code I receive an UAC message:
#RequireAdmin RunWait("msiexec /i winzip205-64.msi /quiet") Exit How can I hide (bypass) the UAC message?
urBehindWindow for Windows 10
Function for enabling Aero-like blur effect in Windows 10.
urBehindWindow in Windows 10
Hello! As some of you probably know, _WinAPI_DwmEnableBlurBehindWindow does not work as you'd like it to work in Windows 10. It doesn't add Aero-like blur, as seen in the new Start menu or Notification Center. I looked for a solution and found "the most elegant" one:
The blur only affects the inside of the window and it is not colored. It can be enabled via an undocumented SetWindowCompositionAttribute function in user32.dll.
_WinAPI_DwmEnableBlurBehindWindow for Windows 10 - this archive contains both the UDF and the example.