I am working on a presentation and use AI for the first time to draft some texts.
There are already existing solutions. Like plug-ins for google slides and copilot that works with powerpoint. I am using chatGPT and work in google slides.
Here is how I add some slides through app scripts:
function addSlide() {
const presentationName = "ScientificActivities";
const presentations = DriveApp.getFilesByName(presentationName);
if (!presentations.hasNext()) return;
const presentation = SlidesApp.openById(presentations.next().getId());
const layouts = presentation.getMasters()[0].getLayouts();
const targetLayout = layouts.find(layout => layout.getLayoutName() === "OBJECT");
if (!targetLayout) return;
const titleText = "Bridging Modelling and Scalable Chemical Processes"; // Edit title here
const bodyText = "Assoc. Prof. Vladislav Ivaništšev"; // Edit body content here
const newSlide = presentation.appendSlide(targetLayout);
newSlide.getPlaceholder(SlidesApp.PlaceholderType.TITLE).asShape().getText().setText(titleText);
newSlide.getPlaceholder(SlidesApp.PlaceholderType.BODY).asShape().getText().setText(bodyText);
}
Title and body can be generated by … within a long conversation with my personal research assistants. I enjoy the process because these skills will save me a lot of time in the future, although right now it took me some hours to get this simple code working. I have also used AI to find and download a dozen on logos of universities that I have visited (shown below). And it saved me time to get facts from my CV right into the slides.
