Boost Google Slides: Add Word Count in a Flash
Looking to keep track of word count in your Google Slides presentations? You're not alone. A word count is a crucial aspect of any presentation, ensuring that you're providing concise and engaging content. Unfortunately, Google Slides doesn't offer an in-built word count tool. But fear not! There are a few workarounds to help you achieve this efficiently. Let's dive into how to add word count on Google Slides.
Before we proceed, it's essential to understand that these techniques apply to text boxes in Google Slides. If you're inserting text from a word processor like Microsoft Word or Google Docs, they already include a word count that you can copy over.
Using Google Slides' Built-in Gridlines
The first method employs Google Slides' built-in gridlines to create a text box that you can use to count words. Here's how:
1. Open your presentation and select the slide where you want to add a word count.
Setting Up the Gridlines
2. Click on the "View" menu at the top, and then click the checkbox next to "Gridlines." This will display a dotted grid on your slide.
3. Click on "Slide" in the menu, then "Size" to adjust your slide layout. We recommend using "Widescreen" or "Standard" for presentations.
Creating a Text Box for Word Count
4. Right-click on the gridline intersection closest to the top-left corner of your slide. Choose "Insert" and then select "Text box.
5. Use the gridlines to size your text box. It should be tall enough to accommodate your entire presentation's word count and wide enough to display the total number.
Formatting the Text Box for Word Count
The next step is to format your text box to display a running word count. This involves using the slide's revolt theme, which counts slide text and updates automatically.
1. Right-click on your text box and select "Format" in the dropdown menu. In the "Shape" tab, under "Text," make sure "Link" is turned on. This ensures that your text box is linked to the rest of your presentation, so your word count updates automatically when you add or remove text.
Using Placeholder Text
2. Add some placeholder text to your text box, such as "Word count: 0". This will be replaced by the actual word count, which we'll set up next.
Displaying the Total Word Count
3. Click on the placeholder text and type "={CURRENT SLIDE.WORDS}". This is an equity equation that tells the text box to display the total word count of the current slide. Press "Enter" to save your changes.
The word count should now appear in your text box. As you add more text slides, your word count will update automatically. To switch to a different slide, simply close your text box and reopen it on the new slide. The word count will reset to zero, and you can retype the equation.
Using Google Apps Script for Advanced Users
If you're comfortable with a bit of coding, you can use Google Apps Script to create a more dynamic solution for your word count needs. This script can display the total word count for your entire presentation and update in real-time. Here's a simple script to get you started:
1. Click on "Extensions" in the menu, then "Apps Script." A new tab will open with a Google Apps Script editor.
Creating the Script
2. Delete any existing code in the editor, and replace it with the following:
    function onSlideShowMenuItemSelected(e) {
        var presentation = SlidesApp.getActivePresentation();
        var wordCount = 0;
        var slides = presentation.getSlides();
        for (var i = 0; i < slides.length; i++) {
            var body = slides[i].getBody();
            var pageElements = body.getPageElements();
            for (var j = 0; j < pageElements.length; j++) {
                if (pageElements[j].getType() === Slides.PageElementType.SHAPE)
                    {
                        var shape = pageElements[j].asShape();
                        var text = shape.getText();
                      wordCount += text.split(/\s+/).length;
                    }
            }
        }
        Logger.log('Word count: ' + wordCount);
    }
Adding a Word Count Menu Item
3. Still in the Apps Script editor, click on "Slide" in the menu, then "Slide Show," and select "Slide Show Menu Items...". Click on the plus sign (+) to create a new menu item, then type "Word Count" in the text box. In the script dropdown menu, select "onSlideShowMenuItemSelected", and click "OK".
4. Now, whenever you start your slide show, you'll see a new "Word Count" menu item. Selecting it will display the total word count for your presentation in the logger panel.
5. To close the logger panel, click on the "Logger" tab and select "Done."
And there you have it! With these techniques, you can now add and display word counts in your Google Slides presentations. Stay on top of your word count, craft engaging presentations, and impress your audience with your clarity and conciseness. Happy presenting!