SetFocusedProcess

setfocusedprocess[<process name>]

Sets the focused window in windows to the window of the specified process.

Parameters:

  1. The name of the process.