Win10 Event Viewer WinMove failed Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ronkwan
Posts: 8
Joined: 04 Nov 2016, 03:41

Win10 Event Viewer WinMove failed

Post by ronkwan » 25 Aug 2020, 19:57

I am trying to run Event Viewer and move it to the top left corner under win10 ltsc 1809,

Code: Select all

!q::
Run, eventvwr.msc
WinWait, Event Viewer
WinMove, 0, 0
return
the above doesn't seem to work.

But the Calculator example from WinMove, Autohotkey Help works on the same system.

Please help, much thanks.

lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: Win10 Event Viewer WinMove failed  Topic is solved

Post by lexikos » 25 Aug 2020, 20:03

This is because of a security restriction enforced by UAC.

See How do I work around problems caused by User Account Control (UAC)?

PhuketRoger
Posts: 7
Joined: 07 Apr 2017, 12:18

Re: Win10 Event Viewer WinMove failed

Post by PhuketRoger » 27 Aug 2020, 00:26

Thank you, Lexikos, very much for this! :bravo:

After spending hours trying to figure out why my script wouldn't click off the "User Account Control" window, a visit to this forum, a search for "UAC" and a re-install of the latest AutoHotkeyU32_UIA.exe, it all works as required.

Much appreciated!

Post Reply

Return to “Ask for Help (v1)”