public static void InitOutput() { var output = (ExporterOutput)GetWindow(typeof(ExporterOutput)); output.OnInitialize(); }