private void exportTildaSlide_Click(object sender, RibbonControlEventArgs e) { setUpFolders(); PowerPoint.Slide currentSlide = Settings.ActiveSlide(); TildaSlide slide = new TildaSlide(currentSlide); System.IO.File.WriteAllText(Settings.outputPath + Path.DirectorySeparatorChar + "settings.js", Settings.PresoSettingsToJS()); export("preso.slides.push(" + slide.exportSlide() + ");"); cleanUpFolders(); }