There is a foregroundworkers option in Editor, but I dont know if I can use it in AutomiationTool
foregroundworkers