Skip to content

Instantly share code, notes, and snippets.

@DinisCruz
Created November 19, 2012 01:30
Show Gist options
  • Select an option

  • Save DinisCruz/4108497 to your computer and use it in GitHub Desktop.

Select an option

Save DinisCruz/4108497 to your computer and use it in GitHub Desktop.
O2 Script - VisualStudio API - Close an Open Window that was left after a VS Crash
var visualStudio = new VisualStudio_2010();
visualStudio.window("ToolWindowPane WinForms").Close(vsSaveChanges.vsSaveChangesNo);
return visualStudio.dte();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment