autoit focus on running process code example
Example: autoit focus on running process
#RequireAdmin
if ProcessExists("process.exe") Then
winactivate("name of the window")
EndIf
#RequireAdmin
if ProcessExists("process.exe") Then
winactivate("name of the window")
EndIf