title: Is there any way to activate a window with White?
body: <p>Is there a way to activate or bring a window of an external application to the front? The closest I could get was</p>
  
  <pre><code>var application = Application.Attach("SearchApp");
  var searchWindow = application.GetWindows()[0];
  
  searchWindow.Focus(DisplayState.Maximized);
  </code></pre>
  
  <p>but all that does is maximize it in the background if it's not currently active. </p>