Hello!
So I am trying to run a simple program on my game, and it seems to be getting unfocused every so often.
I tried running program as administrator and with UI access and neither seem to help.
UAC causing problems
Re: UAC causing problems
Hallo,
This additional script keeps Notpad active:
Alternatively, use a Timer:
This additional script keeps Notpad active:
Code: Select all
Loop {
WinWaitNotActive, ahk_class Notepad
WinActivate
}
Code: Select all
SetTimer, WinActivate, 500
WinActivate:
WinActivate, ahk_class Notepad
Return
-
- Posts: 2
- Joined: 05 Dec 2023, 08:58
Re: UAC causing problems
Well the script stays active, just the tab that script is supposed to run on unfocuses and it well, stops moving